From 1a8de700a0f992e7a5ff5ae76e17687b39b9331b Mon Sep 17 00:00:00 2001 From: merdan Date: Fri, 11 Mar 2022 14:54:32 +0500 Subject: [PATCH] category default limit --- packages/Sarga/API/Http/Resources/Customer/OrderResource.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/Sarga/API/Http/Resources/Customer/OrderResource.php b/packages/Sarga/API/Http/Resources/Customer/OrderResource.php index 50a3d6554..0b45ea434 100644 --- a/packages/Sarga/API/Http/Resources/Customer/OrderResource.php +++ b/packages/Sarga/API/Http/Resources/Customer/OrderResource.php @@ -41,8 +41,8 @@ class OrderResource extends JsonResource '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->base_grand_total, $this->order_currency_code), - + 'formatted_grand_total' => core()->formatPrice($this->base_grand_total, $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->base_grand_total_invoiced, $this->order_currency_code),