|
|
| # | Código | Descripción | Cantidad | Val. Unit | IVA | Val. Item | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{$ItemNro}} | {{$item['code']}} | @if(isset($item['notes'])) {{$item['description']}} - {{$item['notes']}} @else {{$item['description']}} @endif | {{number_format($item['invoiced_quantity'], 2)}} | @if(isset($item['tax_totals'])) @if(isset($item['allowance_charges'])){{number_format(($item['line_extension_amount'] + $item['allowance_charges'][0]['amount']) / $item['invoiced_quantity'], 2)}} | @else{{number_format($item['line_extension_amount'] / $item['invoiced_quantity'], 2)}} | @endif @else @if(isset($item['allowance_charges'])){{number_format(($item['line_extension_amount'] + $item['allowance_charges'][0]['amount']) / $item['invoiced_quantity'], 2)}} | @else{{number_format($item['line_extension_amount'] / $item['invoiced_quantity'], 2)}} | @endif @endif @if(isset($item['tax_totals'])) @if(isset($item['tax_totals'][0]['tax_amount'])){{number_format($item['tax_totals'][0]['tax_amount'], 2)}} | @else{{number_format(0, 2)}} | @endif @else- | @endif @if(isset($item['allowance_charges'])) @if(isset($item['tax_totals'])){{number_format(($item['line_extension_amount'] + ($item['tax_totals'][0]['tax_amount'])), 2)}} | @else{{number_format(($item['line_extension_amount']), 2)}} | @endif @else{{number_format($item['invoiced_quantity'] * ($item['line_extension_amount'] / $item['invoiced_quantity']), 2)}} | @endif
|
|
@php $totalAmount = $request->legal_monetary_totals['payable_amount']; $totalAmount = round($totalAmount, 2); $idcurrency = $request->idcurrency ?? null; @endphp
SON: {{$Varios->convertir($totalAmount, $idcurrency)}} M/CTE*********.
NOTAS:
{{$notes}}
Factura No: {{$resolution->prefix}} - {{$request->number}}
Fecha y Hora de Generación: {{$date}} - {{$time}}
CUFE: {{$cufecude}}
{{$request->foot_note}}
@endisset