@extends('layout.administrator.layout') @section('css') @endsection @section('sideBody')
@endsection @section('content')
Regresar

Detalle de la liquidación

{{Config::get('const.state_liquidation')[$liquidation->state]['name']}}

{{$liquidation->reference}}

{{date('d/m/Y h:i a', strtotime($liquidation->created_at))}}

${{number_format($liquidation->value, 2, ',', '.')}}

{{$liquidation->getDeliveryMan->getData->name . ' ' . $liquidation->getDeliveryMan->getData->last_name}}

{{$liquidation->getDeliveryMan->getData->id_number}}

{{$liquidation->getDeliveryMan->getData->cellphone}}

{{--
@if (count($discounts)>0) @foreach ($discounts as $discount) @endforeach @else @endif
Nombre Porcentaje Valor
{{$discount->name}} {{$discount->extra}}% $ -{{number_format($discount->value, 2, ',', '.')}}
No hay descuentos
--}}
{{--

Domicilios

@if (count($deliveries)>0) @foreach ($deliveries as $delivery) @endforeach @else @endif
Referencia Cliente Fecha Valor
{{$delivery->reference}} {{$delivery->getCustomer->name . ' ' . $delivery->getCustomer->last_name}} {{date('d/m/Y h:i a', strtotime($delivery->created_at))}} ${{number_format((($delivery->perc_domiciliary * json_decode($delivery->total_price)->total) / 100), 2, ',', '.')}}
No se encontraron domicilios
--}}
@endsection