|
Orden ID
|
{{ $prefix }}{{
$sl_orders['ID_orders'] }}
|
|
|
Fecha de Compra
|
{{
MyFuncs::fechaCastellano($sl_orders -> Date)
}}
|
|
|
Forma de Pago
|
@if($sl_orders -> Ptype == 'COD')
Pago contra entrega
@elseif($sl_orders -> Ptype == 'Referenced
Deposit')
Deposito Referenciado
@else
Tarjeta de Crédito
@endif
|
|
|
MSI
|
@if(is_null($payments -> PmtField8))
Pago en una sola exhibición
@elseif($payments -> PmtField8 == 1)
Pago en una sola exhibición
@else
{{ $payments -> PmtField8 }} Mes(es)
@endif
|
|
|
Información de
Envío
|
|
|
|
Nombre:
|
{{
$sl_orders['shp_name'] }}
|
|
|
Calle y Número:
|
{{ $sl_orders ->
Address1}}
|
|
|
Colonia:
|
{{$sl_orders->shp_Urbanization}}
|
|
|
Entre Calles:
|
{{ $sl_orders ->
Address2}}
|
|
|
Referencias
|
{{ $sl_orders ->
shp_Country }}
|
|
|
Municipio o Alcaldía
|
{{$sl_orders->shp_City}}
|
|
|
Estado / CP:
|
{{ $sl_orders ->
State }} / {{ $sl_orders -> Zip }}
|
|
|
Teléfono:
|
{{ $customer ->
Phone1 }}
|
|
|
Email:
|
{{ $customer ->
Email }}
|
|
|
Notas:
|
{{ $sl_orders ->
OrderNotes }}
|
|
|
Cant.
|
Producto
|
Precio Unit.
|
@php ($subtotal=0)
@php ($taxes=0)
@php ($shipping=0)
@php ($total=0)
@php ( $total_discount=0 )
@php ($cont_lines=0)
@php ($shipping_tax=0)
@foreach($sl_order_items as $order_product)
@php ($subtotal += ($order_product -> SalePrice ))
@php ($taxes += $order_product -> Tax )
@php ($shipping += $order_product -> Shipping )
@php ($shipping_tax += $order_product -> ShpTax )
@php ($total_discount += $order_product -> Discount )
@php ($real_salesprice=(($order_product -> SalePrice *
$order_product -> Quantity ) -
$order_product -> Discount )+$order_product -> Tax +
$order_product -> Shipping + $order_product ->
ShpTax )
@php ($total_product = ($real_salesprice) )
|
{{ $order_product
-> Quantity }}
|
{{ $order_product
-> name }}
|
{{
MyFuncs::format_price($total_product) }}
|
@php($cont_lines++)
@endforeach
@php ($total =
($subtotal-$total_discount)+$taxes+$shipping+$shipping_tax)
|
Subtotal
{{MyFuncs::format_price($subtotal)}}
Envío {{MyFuncs::format_price($shipping)}}
Descuentos
{{MyFuncs::format_price($total_discount)}}
Impuestos
{{MyFuncs::format_price($taxes+$shipping_tax)}}
Total
{{MyFuncs::format_price($total)}}
|