@extends('layouts.app-general') @section('content')

COURIER

@yield('content')
@if(session('flash_message'))
Enhorabuena!, {{ session('flash_message') }}
@endif

@if(!isset($courier)) Agregar courier @elseif(strstr(Request::url(), "view")) Ver courier @else Editar courier @endif

@if(isset($courier))
@else @endif
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('logo')) {{ $errors->first('logo') }} @endif
@if ($errors->has('sector')) {{ $errors->first('sector') }} @endif
@if ($errors->has('status')) {{ $errors->first('status') }} @endif
Volver atras
@if(isset($couriers_pos))
OFERTAS Y DESCUENTOS {{ count($couriers_offers) }}
@foreach($couriers_offers as $couriers_offer) @endforeach
NOMBRE INICIO FINAL
{{ $couriers_offer->name }} {{ $couriers_offer->date_init }} {{ $couriers_offer->date_finish }}
@if(count($couriers_offers)==0)
No hay registros
@endif
SERVICIOS {{ count($services_facilities) }}
@foreach($services_facilities as $services_facility) @endforeach
NOMBRE TIPO MODIFICADO
{{ $services_facility->name }} {{ $services_facility->type }} {{ $services_facility->created_at }}
@if(count($services_facilities)==0)
No hay registros
@endif
SUCURSALES {{ count($couriers_pos) }}
@foreach($couriers_pos as $courier_pos) @endforeach
NOMBRE TELÉFONO CREACIÓN
{{ $courier_pos->name }} {{ $courier_pos->tel }} {{ $courier_pos->created_at }}
@if(count($couriers_pos)==0)
No hay registros
@endif
HISTORICO DE PRECIO {{ count($couriers_rates) }}
@foreach($couriers_rates as $courier_rate) @endforeach
NOMBRE PRECIO MODIFICACIÓN
{{ $courier_rate->type }} {{ round($courier_rate->rate,2) }} {{ $courier_rate->created_at }}
@if(count($couriers_rates)==0)
No hay registros
@endif
RESEÑAS {{ count($couriers_reviews) }}
@foreach($couriers_reviews as $courier_review) @endforeach
USUARIO PUNTUACIÓN COMENTARIO CREACIÓN
{{ $courier_review->name_complete }} {{ $courier_review->rate }} {{ substr($courier_review->comment,0,100) }}.. {{ $courier_review->created_at }}
@if(count($couriers_rates)==0)
No hay registros
@endif
@endif
@endsection