@extends('cr_blank')
@section('content')
@include('componentes.r_header')
@if ($cliente)
Cliente: {{ $cliente->razon_social }}
@endif
@if ($user)
Vendedor: {{ $user->nombre_completo }}
@endif
@if ($ini && $fin)
Del {{ date('d-m-Y',strtotime($ini)) }} al {{ date('d-m-Y',strtotime($fin)) }}
@endif
| N. |
N° RECIBO |
CODIGO |
FECHA |
VENDEDOR |
USUARIO |
CLIENTE |
MONTO (Bs) |
@php
$s_efectivo = 0;
$s_otro = 0;
@endphp
@foreach ($datos as $item)
| {{ ++$i }} |
{{ $item->nro_recibo }} |
{{ $item->proforma->txt_nro }} |
{{ date('d/m/Y H:i',strtotime($item->fecha)) }} |
{{ $item->proforma->usuario->nombres }} |
{{ $item->usuario->nombres }} |
{{ $item->proforma->razon_social }} |
{{ number_format($item->monto,2) }} |
@php
if ($item->metodo_pago == 'EFECTIVO') {
$s_efectivo += $item->monto;
} else {
$s_otro += $item->monto;
}
@endphp
@endforeach
| TOTALES |
{{ number_format($s_otro,2) }} |
{{-- {{ $datos->total }}
--}}
@endsection
@section('scripts')
@endsection