@extends('layouts.app') @section('title', __( 'lang_v1.sales_order')) @section('css') @endsection @section('content') @php function getTypeString($t){ if($t == 'sell'){ return 'FAC'; }elseif ($t == 'sell_return') { return 'DEV'; }else{ return 'RET'; } return ''; } @endphp
| Accion | Tipo | Documento | Fecha | Proveedor | Valor | Correo | Estado | Respuesta del SRI | Detalle |
|---|---|---|---|---|---|---|---|---|---|
|
|
{{getTypeString($t->type)}} | {{$t->invoice_no}} | {{$t->transaction_date}} | {{$t->contact->contact_id }} - {{$t->contact->name == '' || $t->contact->name == null ? $t->contact->supplier_business_name : $t->contact->name}} | ${{number_format($t->final_total,2,'.','')}} | {{$t->contact->email}} | @if($codeStatus==1) {{$status}} @endif @if($codeStatus==0) {{$status}} @endif @if($codeStatus==3) {{$status}} @endif @if($codeStatus==2) {{$status}} @endif | {{$message}} | {{$detalle}} |