@extends('base') @section('titulo') Costeo @endsection @section('content') @php $TIP = 0; $TCP = 0; $TIEP = 0; $TCEP = 0; @endphp @section('extracss') @endsection @section('extrajs') @endsection @include('sessions') @if ($cotizacion->estado == 'En proceso-Ventas')
# | Servicio | Cantidad | Unitario | Descuento | Venta Gravada | IVA | No sujeto | Exento | Exportacion | TAX | Sub Total | Total | Facturado | Operaciones |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $service->id }} | {{ $service->serv_name }} | {{ $service->cantidad }} | {{ number_format($service->monto_real / $service->cantidad, 2) }} | {{ number_format($service->descuento, 2) }} | @php if ($service->wm == 1) { $sbt = $service->cantidad * $service->monto_real * $cotizacion->inicial->factor; } else { $sbt = $service->cantidad * $service->monto_real; } if ($service->impuesto == 1) { $cantIva = $sbt * 0.13; } else { $cantIva = 0; } if ($service->tax) { $tax = $sbt * 0.05; } else { $tax = 0; } $subtotal5 += $sbt + $tax; $total = $sbt + $cantIva + $tax; @endphp{{ number_format($service->impuesto, 2) }} | @if ($service->impuesto == 1) {{ number_format(floor($cantIva * 100) / 100, 3) }} @else 0.00 @endif | @if ($service->impuesto == 2) {{ number_format($sbt, 2) }} @else 0.00 @endif | @if ($service->impuesto == 3) {{ number_format($sbt, 2) }} @else 0.00 @endif | @if ($service->impuesto == 4) {{ number_format($sbt, 2) }} @else 0.00 @endif | @if ($service->tax) {{ number_format($tax, 2) }} @else 0.00 @endif | {{ number_format($sbt + $tax, 2) }} | {{ number_format(floor($total * 100) / 100, 2) }} | @if ($service->monto_facturado < $service->monto_real) SIN FACTURAR (FALTANTE: ${{ number_format($service->monto_real - $service->monto_facturado, 2) }} ) @else FACTURADO @endif | @if ($cotizacion->estado != 'En proceso-Operaciones') @endif @if ($cotizacion->estado == 'En proceso-Operaciones' && $operativoFlag == true) @endif |
Monto Total | {{ $totalCantidad }} | {{ number_format($totalPunitario, 2) }} | {{ number_format($totalDescuento, 2) }} | {{ number_format($subtotal1, 2) }} | {{ number_format(floor($iva * 100) / 100, 2) }} | {{ number_format($subtotal2, 2) }} | {{ number_format($subtotal3, 2) }} | {{ number_format($subtotal4, 2) }} | {{ number_format($taxt, 2) }} | {{ number_format($subtotal5, 2) }} | {{ number_format(floor($totalT * 100) / 100, 2) }} |
Total de ingresos: ${{$subtotal + $iva + $taxt}}
--}}Cod. Ingreso | Codigo | Servicio | Cantidad | Unitario Estimado | Unitario Real | Descuento | Compra Gravada | IVA | No sujeto | Exento | Exportacion | TAX | Sub Total | Total | Proveedor | Operaciones | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $service->completa_servicio_id }} | @elseN/A | @endif{{ $service->service_cod }} | {{ $service->serv_name }} | {{ $service->cantidad }} | $ | {{ number_format($service->monto_estimado, 2) }} | $ | {{ number_format($service->monto_real, 2) }} | $ | {{ number_format($service->descuento, 2) }} | @php $sbt = $service->cantidad * ($service->monto - $service->descuento); if ($service->impuesto == 1) { $cantIva = $sbt * 0.13; } else { $cantIva = 0; } if ($service->tax) { $tax = $sbt * 0.05; } else { $tax = 0; } $total = $sbt + $cantIva + $tax; $sbt_sinIVA = $sbt + $tax; $subTotal5 += $sbt_sinIVA; @endphp$ | @if ($service->impuesto == 1) {{ number_format($sbt, 2) }} @else 0.00 @endif | $ | @if ($service->impuesto == 1) {{ number_format($cantIva, 2) }} @else 0.00 @endif | $ | @if ($service->impuesto == 2) {{ number_format($sbt, 2) }} @else 0.00 @endif | $ | @if ($service->impuesto == 3) {{ number_format($sbt, 2) }} @else 0.00 @endif | $ | @if ($service->impuesto == 4) {{ number_format($sbt, 2) }} @else 0.00 @endif | $ | @if ($service->tax) {{ number_format($tax, 2) }} @else 0.00 @endif | $ | {{ number_format($sbt_sinIVA, 2) }} | $ | {{ number_format($total, 2) }} | {{ $service->codProveedor }} / {{ $service->nombreProveedor }} | @if ($cotizacion->estado != 'En proceso-Operaciones') @endif @if ($cotizacion->estado == 'En proceso-Operaciones' && $operativoFlag == true) @endif |
Monto Total | {{ $totalCantidad }} | $ | {{ number_format($totalPunitario, 2) }} | $ | {{ number_format($totalPReal, 2) }} | $ | {{ number_format($totalDescuentoC, 2) }} | $ | {{ number_format($subtotal1, 2) }} | $ | {{ number_format($iva, 2) }} | $ | {{ number_format($subtotal2, 2) }} | $ | {{ number_format($subtotal3, 2) }} | $ | {{ number_format($subtotal4, 2) }} | $ | {{ number_format($taxt, 2) }} | $ | {{ number_format($subTotal5, 2) }} | $ | {{ number_format($totalT, 2) }} |
Total de costos: ${{$subtotalC + $ivaC + $taxtC}}
--}}# | Servicio | Monto | {{--Tipo | --}}Facturado | Operaciones | ||
---|---|---|---|---|---|---|---|
{{ $i }} | {{ $service2->serv_name }} | $ | {{ number_format($service2->monto * $service2->cantidad, 2) }} | {{--@if ($service2->tax) ${{$taxX = round(( $service2->monto)*0.05,2)}} @else ${{$taxX=0}} @endif | --}} {{--@if ($service2->tipo == 1) Ingreso @else Costo @endif | --}}{{ $service2->facturado }} | @if ($cotizacion->estado != 'En proceso-Operaciones') @endif @if ($cotizacion->estado == 'En proceso-Operaciones' && $operativoFlag == true) @endif |
Monto Total Ingreso | $ | {{ number_format($STotalT, 2) }} | {{--Ingreso | --}} | |||
Monto Total Costo | $ | {{number_format($STotalTC, 2 ) }} | Costo |
Total de costos extra: ${{$subtotalEC + $ivaEC + $taxtEC}}
Total de ingresos extra: ${{$subtotalE + $ivaE + $taxtE}}
--}}Rubro | Ingreso | Costo |
---|---|---|
Total ingresos | - | |
Total costos | - | |
Total ingresos Extra | - | |
Total costos extra | - | |
PROFFIT |