product detail
This commit is contained in:
parent
c29ede21f0
commit
ac525e5a1d
|
|
@ -40,8 +40,8 @@ class OrderResource extends JsonResource
|
|||
// 'base_currency_code' => $this->base_currency_code,
|
||||
// 'channel_currency_code' => $this->channel_currency_code,
|
||||
// 'order_currency_code' => $this->order_currency_code,
|
||||
'grand_total' => (double) $this->grand_total,
|
||||
'formatted_grand_total' => core()->formatPrice($this->grand_total, $this->order_currency_code),
|
||||
'grand_total' => (double) ($this->grand_total - $this->grand_total_refunded),
|
||||
'formatted_grand_total' => core()->formatPrice($this->grand_total - $this->grand_total_refunded, $this->order_currency_code),
|
||||
'total_weight' => $this->items->sum('total_weight'),
|
||||
'grand_total_invoiced' => (double) $this->grand_total_invoiced,
|
||||
'formatted_grand_total_invoiced' => core()->formatPrice($this->grand_total_invoiced, $this->order_currency_code),
|
||||
|
|
|
|||
Loading…
Reference in New Issue