Commit 5349220b by Angel MAS

id producto en correo

parent 3234c80b
...@@ -16,18 +16,18 @@ setlocale(LC_MONETARY, 'en_US'); ...@@ -16,18 +16,18 @@ setlocale(LC_MONETARY, 'en_US');
@component('mail::table') @component('mail::table')
| Cantidad | Producto | Precio | Subtotal | | Clave Prod | Cantidad | Producto | Precio | Subtotal |
| :-------------: |:-------------:| :--------:| :-------:| | :---------: | :-------------: |:-------------:| :--------:| :-------:|
@foreach($products as $p) @foreach($products as $p)
| {{$p->pivot->quantity}} | {{$p->name}} | {{money_format('%(#10n', $p->infoSale->sale_price)}} | {{money_format('%(#10n', $p->infoSale->sale_price * $p->pivot->quantity)}} | | {{$p->id}} | {{$p->pivot->quantity}} | {{$p->name}} | {{money_format('%(#10n', $p->infoSale->sale_price)}} | {{money_format('%(#10n', $p->infoSale->sale_price * $p->pivot->quantity)}} |
@endforeach @endforeach
@if($shipping != null) @if($shipping != null)
| 1 | {{$shipping->shipping_price->name}} | {{money_format('%(#10n',$shipping->shipping_price->cost)}} | {{money_format('%(#10n',$shipping->shipping_price->cost)}} | | - | 1 | {{$shipping->shipping_price->name}} | {{money_format('%(#10n',$shipping->shipping_price->cost)}} | {{money_format('%(#10n',$shipping->shipping_price->cost)}} |
@endif @endif
@if($promo != null) @if($promo != null)
| 1 | Descuento *** {{$order->coupon}} *** | {{" - ".$promo['amount']}} | {{" - ".$promo['amount']}}| | - | 1 | Descuento *** {{$order->coupon}} *** | {{" - ".$promo['amount']}} | {{" - ".$promo['amount']}}|
@endif @endif
| - | - | Total: | {{money_format('%(#10n',$order->total)}}| | - | - | - | Total: | {{money_format('%(#10n',$order->total)}}|
@endcomponent @endcomponent
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment