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

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

ALNEAM CO. FOR MARKETING FOOD STUFF

Logo

{{ __('Production Details') }}

{{ __('Status') }}: {{ __(ucfirst($production->process_status)) }}
{{ __('Production Number') }}: {{ $production->serial_number }}
{{ __('Date') }}: {{ $production->finished_process_date }}

{{ __('Main Details') }}

{{ __('Main Item Name') }} {{ $production->mainitem->item->name }}
{{ __('inventory') }} {{ $production->mainitem->inventory->name }}
{{ __('Quantity/Weight') }} {{ $production->mainitem->value }}

{{ __('Final Product') }}

{{ __('ID') }} {{ $production->id }}
{{ __('Item Name') }} {{ $production->item->name }}
{{ __('Production Line') }} {{ $production->productionLine->name }}
{{ __('Value') }} {{ $production->value }}
{{ __('price') }} {{ $production->price }}

{{ __('Sub Details') }}

{{-- --}} @foreach ($production->rawMaterialItems as $item) {{-- --}} @endforeach
{{ __('Sub Item Name') }} {{ __('Inventory') }} {{ __('Value') }} {{ __('Value Returned') }} {{ __('Value Damaged') }}{{ __('Price') }}
{{ $log->item->name ?? '-' }} {{ $item->inventory->name ?? '-' }} {{ $item->value }} * {{ $item->number_of_elements_for_each_item }} {{ $item->logs->sum('value_returned') }} {{ $item->logs->sum('value_damaged') }} {{ $item->price }}
{{-- {{__('Invice Details:')}} --}}

{{ __('Invice Details') }}

{{ __('inventory') }} {{ $production->mainitem->inventory->name }}
{{ __('Serial Number') }} {{ $production->mainitem->production->serial_number }}
{{ __('Owner Status') }} {{ __(ucfirst($production->mainitem->production->owner_status)) }}
{{ __('value returned') }} {{ $production->mainitem->logs->sum('value_returned') }} * {{ $production->mainitem->number_of_elements_for_each_item }}
{{ __('Username') }} {{ $production->user->name }}
{{ __('value damaged') }} {{ $production->mainitem->logs->sum('value_damaged') }}