@include('partials.success')
@include('partials.error')
Pagos
Fecha |
Monto |
Concepto |
Forma de pago |
Observaciones |
@php $totalAmountPagos= 0; @endphp
@foreach($pagos as $index => $item)
01-01-1970 |
${{ number_format($item->amount,2) }}
{{$item->status->name ?? ''}}
|
{{ $item->concept }} |
{{ $item->payment_methods->name ?? ''}} |
{{ $item->observations }} |
@if($item->proposal->sale_contract->purchase_type_id==2)
Pagaré
@endif
|
@php $totalAmountPagos += $item->amount; @endphp
@endforeach
Concepto |
Monto |
@php $totalAmountIventory = 0; @endphp
@foreach($inventory as $index => $item)
{{ $item->name }}
|
${{ number_format($item->amount,2) }}
|
|
@php $totalAmountIventory += $item->amount; @endphp
@endforeach
Costos
Ingresos: ${{ number_format($totalAmountPagos,2) }}
Egresos: ${{ number_format($totalAmountIventory,2) }}
Utilidad: ${{ number_format($totalAmountPagos - $totalAmountIventory,2) }}