From dcb556edcf0433ec2a732d62ac46f7c58804a34d Mon Sep 17 00:00:00 2001 From: A1Gard Date: Mon, 25 Nov 2024 17:47:38 +0330 Subject: [PATCH] fix invoice bug --- resources/views/admin/invoices/invoice-form.blade.php | 7 ++++--- .../segments/invoice/LianaInvoice/LianaInvoice.blade.php | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/resources/views/admin/invoices/invoice-form.blade.php b/resources/views/admin/invoices/invoice-form.blade.php index b21cdaa..3467c18 100644 --- a/resources/views/admin/invoices/invoice-form.blade.php +++ b/resources/views/admin/invoices/invoice-form.blade.php @@ -189,9 +189,10 @@ - @else @foreach($order->quantity->meta as $m) - - {{$m->human_value}} - +
+ {{$m['label']}}: + {!! $m['human_value']??'-' !!} +
@endforeach @endif diff --git a/resources/views/segments/invoice/LianaInvoice/LianaInvoice.blade.php b/resources/views/segments/invoice/LianaInvoice/LianaInvoice.blade.php index 10da18a..af735fa 100644 --- a/resources/views/segments/invoice/LianaInvoice/LianaInvoice.blade.php +++ b/resources/views/segments/invoice/LianaInvoice/LianaInvoice.blade.php @@ -68,8 +68,8 @@ - @else @foreach($order->quantity->meta as $m) - - {{$m->human_value}} + + {!! $m['human_value']??'-' !!} @endforeach @endif