@extends('metronic.base') @section('title') detalle de facturación @endsection @section('extracss') @endsection @section('extrajs') @endsection @section('content') @include('sessions')
Item | No. Documento | Tipo | Cliente | Fecha emisión | Monto | Partida | Acciones | ||
---|---|---|---|---|---|---|---|---|---|
{{ $i }} | @if ($documento->cancelado == 1)ANULADO ( {{ $documento->documento_code }} ) | @else{{ $documento->documento_code }} | @endif{{ $documento->tipo->tipo }} | {{ $documento->cliente->nombre_cliente }} |
@if ($documento->fecha_emision)
{{ date('d/m/Y', strtotime($documento->fecha_emision)) }}
@else
NO POSEE
@endif
|
@if ($documento->cancelado == 1)
0.00 | @else{{ $documento->monto }} | @endif@if ($documento->partida($documento->id) != null) Partida @endif | @if ($documento->documento_code != null && $documento->cancelado !== 1) @endif @if ($documento->partida($documento->id) != null && $documento->partida($documento->id)->abierta == 0) @endif @if ($documento->tipo_documento_id == 3) @endif @if ($documento->tipo_documento_id == 1) {{-- --}} @if ($documento->cancelado == null && ($documento->fecha_emision == date("Y-m-d"))) @endif |