|
{{ $cabecera->descripcion }}
R.F.C. {{ $cabecera->rfc }}
{{ $cabecera->direccion }}
{{ $cabecera->telefono }}
|
|
Lugar de Exp.: {{ $cabecera->sucursal }}
{{ $cabecera->ledireccion }} NO.{{ $cabecera->lenumExterior }}, COL. {{ $cabecera->lecolonia}}. {{ strtoupper($cabecera->lemunicipio) }}, {{ strtoupper($cabecera->leestado) }}, {{ strtoupper($cabecera->lepais) }}. CP. {{ $cabecera->lecp }}.
|
|
| {{ strtoupper($texto->tipodoc) }} |
|
| FOLIO: | {{ $remision[0]->serie.'-'.$remision[0]->folio }} |
| TURNO: | {{ $remision[0]->turno }} |
| CLIENTE: | {{ $remision[0]->id_tpv_cliente.' - '.$remision[0]->cliente }} |
| ATENDIÓ: | {{ $remision[0]->vendedor.' - Cod. Vend. '.$remision[0]->codigovendedor}} |
| FECHA: | {{ \Carbon\Carbon::parse( $remision[0]->fecha )->format("d/m/Y").' - '.$remision[0]->hora }} |
|
| CONCEPTOS |
|
| Codigo |
# Serie |
| Descripcion |
| Cant. |
Prec.U. |
Desc. |
Importe |
|
@php $n = 0 @endphp
@foreach ($remision as $item)
@if($item->id_cat_tipodoc == 13 || $item->id_cat_tipodoc == 4)
| {{ $item->codigo }} |
{{ $item->numeroserie }} |
| {{ $item->descripcioncorta }} |
| {{ $item->cantidad }} |
{{ $item->precio }} |
{{ $item->detalledescuento }} |
{{ $item->detalletotal }} |
@else
| {{ $item->codigo }} |
{{ $item->numeroserie }} |
| {{ $item->descripcioncorta }} |
| {{ $item->cantidad }} |
{{ $item->precio }} |
{{ $item->detalledescuento }} |
{{ $item->detalletotal }} |
@endif
@php $n++ @endphp
@endforeach
|
|
@if($tipodoc == 2 || $tipodoc == 4 || ($remision[0]->fechaLiquidacion != null))
| Subtotal: | {{ $remision[0]->subtotal }} |
| Descuento: | {{ $remision[0]->descuento }} |
| IVA: | {{ $remision[0]->iva }} |
| Total: | {{ $remision[0]->total }} |
@if($remision[0]->metodopago == 'PUE')
| Efectivo: | {{ $remision[0]->efectivo }} |
| Cambio: | {{ $remision[0]->cambio }} |
@endif
|
{{ $numerosletras }} |
|
@endif
| FORMA DE PAGO |
@if($tipodoc == 14)
| ANTICIPO | {{ $remision[0]->anticipo }} |
@elseif($remision[0]->metodopago=='PPD')
| ENGANCHE | {{ $remision[0]->anticipo }} |
@endif
@foreach ($formapago as $pago)
@if($pago->isDeposito == 1)
| DEPOSITO EN {{ $pago->tipo }} | {{ $pago->monto }} |
@else
{{ $pago->tipo }} | {{ $pago->monto }} |
@if($pago->id_sat_banco != null && $pago->id_tpv_bancomensualidad != null)
| {{ $pago->banco }} => {{ $pago->meses }} |
@endif
@if($pago->id_sat_banco != null && $pago->id_tpv_bancomensualidad == null)
| {{ $pago->banco }} |
@endif
@endif
@endforeach
@if($tipodoc == 13)
| TOTAL | {{ $remision[0]->anticipo }} |
{{ $numerosletras }} |
@endif
|
| OBSERVACIONES |
|
| {{ strtoupper($remision[0]->observaciones) }} |
|
@if($remision[0]->metodopago=='PPD')
| TOTAL: | $ {{ $remision[0]->total }} |
| ENGANCHE: | $ {{ $remision[0]->anticipo }} |
| FINANCIADO: | $ {{ $remision[0]->total-$remision[0]->anticipo }} |
| PLAZO: | {{ $remision[0]->formapago }} |
| PERIODICIDAD: | {{ $remision[0]->periodicidad }} |
| NUMERO DE PAGOS: | {{ $remision[0]->numpagos }} |
|
| FECHAS PROXIMAS A PAGAR |
|
| NO. | FECHA | MONTO |
@foreach ($pagos as $fechapago)
| {{ $fechapago->numpago }} | {{ $fechapago->fecfija }} | $ {{ $fechapago->pago }} |
@endforeach
|
@endif
|
| {{ $texto->texto }} |