@extends('layouts.app') @section('link') @endsection @section('content')
@include('shared.messages')

{{__('texte.orders_arr.import_table.import_order')}}


{{ csrf_field() }}
@foreach($order_products as $index=>$order_product) @if(isset($order_product['measure'])) @else @endif @endforeach
{{__('texte.orders_arr.import_table.client_id')}} {{__('texte.orders_arr.import_table.product')}} {{__('texte.orders_arr.import_table.our_id')}} {{__('texte.orders_arr.import_table.package_count')}} {{__('texte.orders_arr.import_table.sold_by')}} {{__('texte.orders_arr.import_table.quantity_ordered')}} {{__('texte.orders_arr.import_table.available_quantity')}} {{__('texte.orders_arr.import_table.order_quantity')}} {{__('texte.orders_arr.import_table.actions')}}
{{$order_product['client_id'] ?? ''}} {{$order_product['name'] ?? ''}} {{$order_product['our_id'] ?? ''}} {{$order_product['package_count'] ?? ''}} {{isset($order_product['measure']) ? ($order_product['measure']==0 ? __('texte.orders_arr.import_table.count') : $order_product['package_name']) : ''}} {{$order_product['quantity_ordered'] ?? ''}} {{$order_product['available_quantity'] ?? ''}}
@if($order_product['measure']==1) @if($order_product['quantity_ordered']%$order_product['package_count']!=0) @elseif($order_product['order_quantity']!=$order_product['quantity_ordered']/$order_product['package_count']) @endif @elseif($order_product['measure']==0) @if($order_product['order_quantity']==0 || $order_product['order_quantity']!=$order_product['quantity_ordered']) @endif @endif
@endsection