@extends('layouts.app') @extends('contabilidad.menu') @section('content')
@csrf

Fecha Inicio:

Fecha Final:

@if (isset($salidasAlmacen->fechaInicio))

Fecha consultada

del {{ $salidasAlmacen->fechaInicio }}

- al -{{ $salidasAlmacen->fechaFin }}

@endif
@csrf

facturas

TOTAL:


@foreach ($salidasAlmacen as $op) @if ($op->total - $op->abono > 0) @endif @endforeach
ID Fecha Cliente Cantidad Producto Precio Factura Abono Saldo Nota FEL Envio Acción
{{ $op->id }} {{ date('d/m/Y h:i:s', strtotime($op->created_at)) }} {{ $op->cliente->nombre ?? '' }} @if ($op->saldo_favor) ({{ number_format($op->saldo_favor, 2, '.', ',') }} ) @endif {{ $op->cantidad ?? '' }} {{ $op->producto->nombre ?? '' }} {{ number_format($op->precio, 2, '.', ',') }} @if ($op->nota) @if ($op->nota->estatus == 1) {{ number_format($op->total, 2, '.', ',') }} @else @if ($op->nota->id_tipo == 1) {{ number_format($op->total - $op->nota->cantidad, 2, '.', ',') }} @else {{ number_format($op->total + $op->nota->cantidad, 2, '.', ',') }} @endif @endif @else {{ number_format($op->total, 2, '.', ',') }} @endif {{ number_format($op->abono, 2, '.', ',') }} @if ($op->nota) @if ($op->nota->estatus == 1) {{ number_format($op->total - $op->abono, 2, '.', ',') }} @else @if ($op->nota->id_tipo == 1) {{ number_format($op->total + $op->abono, 2, '.', ',') }} @else {{ number_format($op->total - $op->abono, 2, '.', ',') }} @endif @endif @else {{ number_format($op->total - $op->abono, 2, '.', ',') }} @endif @if ($op->nota) @if ($op->nota->estatus) @else @if ($op->nota->id_tipo == 1) Q {{ $op->nota->cantidad }} debito @else Q {{ $op->nota->cantidad }} credito @endif @endif @endif @if ($op->nombre_img == 1) {{ $op->no_sat }} @else @if ($op->archivo_factura) {{ $op->no_sat }} @else {{ $op->no_sat }} @endif
@if ($op->archivo_factura2) {{ $op->no_sat }} @endif
@if ($op->archivo_factura3) {{ $op->no_sat }} @endif
@if ($op->archivo_factura4) {{ $op->no_sat }} @endif
@if ($op->archivo_factura5) {{ $op->no_sat }} @endif @endif
{{$op->no_envio}}
.TOTAL

TOTAL:

{{-- Codigo agregado para manejo del formulario --}} @endsection