@extends('layouts.app', ['page' => 'invoices']) @section('title', __('messages.invoice_details')) @section('page_header')

{{ __('messages.invoice_details') }}

@if(($invoice->estatus) === "LISTO PARA ENTREGAR" && ($invoice->customer->email)) Yappy @endif
@endsection @section('content')
@if($invoice->idyappy && ($invoice->estatus) === "PAGO WEB")
@endif

BS{{ $invoice->id }}{{ $invoice->identificador }}

{{ $invoice->sucursal }}
cloud_download {{ __('messages.download') }} @if(($invoice->sent) == "0") send ENVIAR CONFIRMACION @endif @if(($invoice->estatus) != "LISTO PARA ENTREGAR") send NOTIFICAR LISTO PARA ENTREGA @endif @if(($invoice->estatus) == "LISTO PARA ENTREGAR" || ($invoice->estatus) == "PAGO WEB") send ACTUALIZAR A ENTREGADO @endif payment {{ __('messages.enter_payment') }} edit {{ __('messages.edit') }}

@if(($invoice->sent) == "0")
@endif @if($invoice->estatus)
@endif @if($invoice->fechalistoparaentregar)
@endif @if($invoice->fecha_retirado)
@endif
@if($comentarios->count() > 0)
Comentarios
@foreach($comentarios as $activity)
COMENTARIOS: {{ $activity->description }}
@endforeach
@endif

Servicios

@if($invoice->tax_per_item) @endif @if($invoice->discount_per_item) @endif @foreach ($invoice->items as $item) @if($invoice->tax_per_item) @endif @if($invoice->discount_per_item) @endif @endforeach
Servicio Cantidad PrecioImpuestoDescuentoTotal
{{ preg_replace('/\((.*?)\)/i', '', $item->product->name) }}
{!! nl2br(htmlspecialchars($item->product->description)) !!}
{{ $item->quantity }} {!! money($item->price, $invoice->currency_code)->format() !!} @foreach ($item->getTotalPercentageOfTaxesWithNames() as $key => $value) {{ $key }}
@endforeach
{{ $item->discount_val }}%{!! money($item->total, $invoice->currency_code)->format() !!}

Total
{!! money($invoice->total, $invoice->currency_code)->format() !!}
@if (count($invoice->payments) > 0)
Saldo Pendiente
{!! money($invoice->due_amount, $invoice->currency_code)->format() !!}
@endif
Documento PDF
@include('application.payments._table')

dvr {{ __('messages.activities') }}

@if($activities->count() > 0) @foreach($activities as $activity)
{{ $activity->created_at->format($currentCompany->getSetting('date_format')) }}
{{ $activity->description }}
@endforeach @else
{{ __('messages.no_activities_yet') }}
@endif
@if(($authUser->modificartracking) == "1")
Actualizar tracking
@if($invoice->tracking) @endif
@endif
Detalles
Cliente: {{ $invoice->customer->display_name }}
Correo: {{ $invoice->customer->email }}
Teléfono: {{ $invoice->customer->phone }}
Sucursal: {{ $invoice->sucursal }}
Tracking: {{ $invoice->tracking }}
Tienda: {{ $invoice->web }}
Cantidad de productos: {{ $invoice->cantidad }}
Precio Total del Producto: {{ $invoice->precio_total }}
Servicio de Compra (SIN ITBMS): {{ $invoice->servi_compra }}
Libras Estimadas: {{ $invoice->librasest }}
Flete de Compra: {{ $invoice->flete_compra }}
Productos: {{ $invoice->productos }}
Link de Producto: {{ $invoice->links }}
Detalles: {{ $invoice->detalles }}
@endsection