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

@ -25,9 +25,9 @@ class Item extends TransformerAbstract
'name' => $model->name,
'description' => $model->description,
'sale_price' => $model->sale_price,
'sale_price_format' => money($model->sale_price, setting('default.currency'), true)->format(),
'sale_price_formatted' => money($model->sale_price, setting('default.currency'), true)->format(),
'purchase_price' => $model->purchase_price,
'purchase_price_format' => money($model->purchase_price, setting('default.currency'), true)->format(),
'purchase_price_formatted' => money($model->purchase_price, setting('default.currency'), true)->format(),
'category_id' => $model->category_id,
'tax_ids' => $model->tax_ids,
'picture' => $model->picture,