@for ($j = 1; $j < $nbr_i; $j++)

1){ @endphp STYLE="page-break-before:always" @php } @endphp> {{-- --}}

رقم الطلبية
{{ $commande[$j]->n_commande }}
التاريخ
{{ $commande[$j]->created_at->format('m/d/y') }}
الممثل التجاري
{{ $commande[$j]->vendeur->name??'' }}
الزبون
{{ $commande[$j]->client->denomination }}
الهاتف
0{{ $commande[$j]->client->tel }}
@php $i = 1; @endphp @foreach ($commandes_details[$j] as $commandes_detail) @endforeach
المجموع الكمية ثمن الوحدة الوحدة المنتوج #
{{ number_format($commandes_detail->montant_ttc, 2, ',', ' ') }} د.م {{ $commandes_detail->qte }} {{ number_format($commandes_detail->prix_ttc, 2, ',', ' ') }} د.م {{ $commandes_detail->unite }} {{ $commandes_detail->article_nom }} {{ $i++ }}
{{ number_format($commande[$j]->prix_total + $commande[$j]->total_remise, 2, ',', ' ') }} د.م المجموع قبل الروميز  
{{ number_format($commande[$j]->total_remise, 2, ',', ' ') }} د.م الروميز   
{{ number_format($commande[$j]->prix_total * 0, 2, ',', ' ') }} د.م الضرائب والرسوم   
{{ number_format($commande[$j]->prix_total, 2, ',', ' ') }} د.م مجموع الطلبية   

@endfor