styling..

This commit is contained in:
Cüneyt Şentürk
2021-06-22 18:17:48 +03:00
parent a63f6dc874
commit 3ab7fd01fc
9 changed files with 12 additions and 12 deletions

View File

@ -22,7 +22,7 @@ class DocumentTotal extends TransformerAbstract
'code' => $model->code,
'name' => $model->name,
'amount' => $model->amount,
'amount_format' => money($model->amount, $model->document->currency_code, true)->format(),
'amount_formatted' => money($model->amount, $model->document->currency_code, true)->format(),
'sort_order' => $model->sort_order,
'created_at' => $model->created_at ? $model->created_at->toIso8601String() : '',
'updated_at' => $model->updated_at ? $model->updated_at->toIso8601String() : '',