Nova Value Metrics - Format not working

Posted 2 months ago by ricardom_vieira

Hello, I can't seem to get Nova's formatting for the Value Metrics to work. Simply nothing happens when I add the property to my return.

Any hints on what might be wrong?

$total = DB::table(hello')
        ->sum(DB::raw('bye'));

      return $this
        ->result($total)
        ->format("0,0");

Please sign in or create an account to participate in this conversation.