@if(App::isLocale('ar')) @else @endif
{{__('Back')}}

شركة النعم لتسويق المواد الغذائية

ALNEAM CO. FOR MARKETING FOOD STUFF

Logo

{{ __('Purchases')}}

{{ \Carbon\Carbon::parse($purchase->date_time ?? $purchase->created_at)->format('Y') }} - ({{ $purchase->id }})
{{__('Serial Number')}}: {{ $purchase->serial_number }}
{{__('Date')}}: {{ \Carbon\Carbon::parse($purchase->date_time ?? $purchase->created_at)->format('Y-m-d H:i:s') }}
@if ($isDriverPrint) @else @endif @foreach ($purchase->items as $item) @if ($isDriverPrint) @else @endif @endforeach
# {{ __('Name') }} {{ __('Inventory Name') }}{{ __('Quantity') }}{{ __('Quantity') }} {{ __('Price') }} {{ __('Total') }}
{{ $loop->iteration }} {{ $item->item->name }} {{ $item->inventory->name }}{{ $item->value }}{{ $item->value }} {{ number_format(abs($item->item_price_after_discount), 4) }} {{ number_format(abs($item->value * $item->item_price_after_discount), 3) }}
@if (!$isDriverPrint) @if(isset($purchase->discount_amount) && $purchase->discount_amount > 0) @endif @if(isset($purchase->shipping_price) && $purchase->shipping_price > 0) @endif @if(isset($purchase->customs) && $purchase->customs > 0) @endif @if(isset($purchase->clearance) && $purchase->clearance > 0) @endif @if(isset($purchase->tax) && $purchase->tax > 0) @endif @if(isset($purchase->workers_expenses) && $purchase->workers_expenses > 0) @endif
{{ __('Subtotal') }}: {{ number_format($purchase->subtotal, 3) }}
{{ __('Discount') }}: {{ number_format($purchase->discount_amount, 3) }}
{{ __('Shipping') }}: {{ number_format($purchase->shipping_price, 3) }}
{{ __('Customs') }}: {{ number_format($purchase->customs, 3) }}
{{ __('Clearance') }}: {{ number_format($purchase->clearance, 3) }}
{{ __('Tax') }}: {{ number_format($purchase->tax, 3) }}
{{ __('Workers Expenses') }}: {{ number_format($purchase->workers_expenses, 3) }}
{{ __('Total') }}: {{ number_format($purchase->total, 3) }}
@endif