|
Nome: {{ $draftorder->reseller->name }} Pedido criado dia: {{ date('d/m/Y', strtotime($draftorder->created_at)) }} | Status: {{ ($draftorder->status ==='OPENED' ? 'Aberto' : 'Fechado') }} N. pedido Odorata: {{ isset($draftorder->order_id) ? $draftorder->order_id : '-' }} Desconto {{ $draftorder->discount }}% | TotalR$ {{ number_format($draftorder->total,2,',','.')}} |
||
| # | Produto | Quantidade | VR Unitário | VR Total | % Desconto | VR Desconto | V. Liquido |
|---|---|---|---|---|---|---|---|
| {{ $index +1 }} | {{ intval($item->product_per_campaign->product['code']) }} {{ strtolower($item->product_per_campaign->product['name']) }} | {{ intval($item->quantity) }} | R$ {{ number_format(($item->total / $item->quantity),2,',','.') }} | R$ {{ number_format($item->total,2,',','.') }} | % {{ number_format($draftorder->discount,2,',','.') }} | R$ {{ number_format($item->discount,2,',','.') }} | R$ {{ number_format($item->total - $item->discount,2,',','.') }} |