refactor(ticket): use refunds as amount source
This commit is contained in:
@@ -22,7 +22,6 @@ class SaleDetailResource extends JsonResource
|
||||
'quantity' => (int) $item->cantidad,
|
||||
'unit_price' => $this->formatMoney($item->precio_unitario),
|
||||
'total' => $this->formatMoney($item->total),
|
||||
'refunded_amount' => $this->formatMoney($item->refunded_amount),
|
||||
])->values(),
|
||||
'total' => $this->formatMoney($this->total),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user