@extends('layouts.admin') @section('content')
@lang('keyword.invoice') ({{ $order->order_num }})
@if($order->order_status == 'accepted' || $order->order_status == 'completed') @endif
ផលិតផល

@foreach($order->getItems as $item) @endforeach
N0 រូបភាព ឈ្មោះផលិតផល លេខកូដ ក្រុម ប្រភេទផលិតផល តម្លៃ ចំនួន សរុប
{{ $loop->iteration }} {{ $item->getProductInfo->title }} {{ $item->getProductInfo->code }} {{ $item->getProductInfo->getGroup->title }} {{ $item->getProductInfo->getGroup->getCategory->title }} ${{ $item->getProductInfo->price }} {{ $item->qty }} ${{ number_format($item->qty * $item->getProductInfo->price, 2) }}
សរុប ${{ $order->total }}

@if($order->order_status == 'pending') @elseif($order->order_status == 'accepted') @endif
@endsection