@extends('layouts.panel.base') @section('tourism-active', 'kt-menu__item--active') @section('title', 'Detalles del Presupuesto') @section('content')

Presupuestos

Detalles del Presupuesto

@if(Session::has('success')) @endif

Información General

Cliente: {{ ucwords($tourism->customer->name) }}

Cliente: {{ ucwords($tourism->customer->phone) }}

In: {{ ucwords($tourism->in) }}

Out: {{ ucwords($tourism->out) }}

Zona: {{ ucwords($tourism->zone) }}

Tipo: {{ $tourism->type }}

Asesor: {{ ucwords(Auth::user()->name) }} {{ ucwords(Auth::user()->last_name) }}

Teléfono: {{ Auth::user()->phone }}

Correo: {{ Auth::user()->email }}

Productos

@php $acum_total = 0; @endphp @foreach($tourism->tourismDetail as $key => $value) @php $acum_total = $acum_total + $value->total; @endphp @endforeach
Descripción Cant. Precio Total Observación
{{ $value->product }} {{ $value->number_type }} {{ $value->type }} {{ number_format($value->amount, 2) }} {{ number_format($value->total, 2) }} {{ $value->observation }}
Total {{ number_format($acum_total, 2) }}
@endsection @section('js') @endsection