@if($cambio->estado=='PROCESADO') @endif
{{-- --}}

CAMBIO OBRA

Nº:{{$cambio->id}}
NOMBRE CLIENTE:{{$cambio->credito->nombre_cliente}}   FECHA: {{$cambio->fecha->format('d/m/Y')}}
COBRADOR : @if(isset($cambio->credito->cobrador)) {{$cambio->credito->cobrador->nombre_completo}} @endif VENDEDOR: @if(isset($cambio->credito->contrato->vendedor)) {{$cambio->credito->contrato->vendedor->nombre_completo}} @endif CTA Nº {{$cambio->credito->numcuenta}}
NUM INGRESO:{{$cambio->numingreso}} NUM EGRESO:{{$cambio->numegreso}}
@if($cambio->credito->tiene_contrato=='1' ) @php $det=$cambio->credito->contrato->detalle; @endphp @foreach($det as $d) @endforeach
PRECIO DE VENTA INICIAL
CODIGO TITULO VOL CANT PV
{{$d->codigo}} {{$d->titulo}} {{$d->volumen}} {{$d->cantidad}} {{$d->precio_unitario}}
SUMAS   {{$det->sum('cantidad')}} {{$det->sum('precio_unitario')}}
@foreach($cambio->detalle()->where('tipo','!=','c')->get() as $d) @endforeach
PRECIO DE VENTA ACTUAL
CODIGO TITULO VOL CANT PV Ingreso/Egreso
{{$d->codigo}} {{$d->titulo}} {{$d->cantidad}} {{$d->precio_unit}} @if($d->tipo=='e') EGRESO @endif @if($d->tipo=='i') INGRESO @endif
SUMAS      
@endif

 

 

 

------------------------------------

FIRMA COBRADOR

 

 

 

------------------------------------

FIRMA SECTORISTA DE CARTER

 

 

 

 

-------------------------------------

FIRMA ENCARGADO ALMACEN