Phase transition and thermodynamics of a hot and dense system in a scaled NJL model