@extends('layouts.master_app')
@section('title') Contacto @endsection
@section('menu_contacts', 'here show')
@section('css')
@endsection
@section('content')
{{$contact->person->letters_name}}
{{$contact->person->full_name}}
@if(isset($contact->person->emails[0]))
{{$contact->person->emails[0]->email}}
@endif
@if(isset($contact->person->phones[0]))
{{$contact->person->phones[0]->phone}}
@endif
@if($submenu == null)
@if(count($contact->proposals)!=0)
@foreach($contact->proposals as $proposal)
@endforeach
@else
Este cliente todavĂa no tiene cotizaciones creadas
@endif
@if(count($contact->prices) != 0)
@include('partials.success')
Producto |
Precio |
|
@foreach($contact->prices as $item)
@if(isset($item->company_product))
{{$item->company_product->name}}
|
{{$item->price}} |
Acciones
|
@endif
@endforeach
@else
No hay precios registrados para este cliente
@endif
@if(count($contact->payments) != 0)
@include('partials.success')
Fecha |
|
Cantidad |
|
@foreach($contact->payments as $item)
{{$item->date_format}} |
{{ $item->concept }}
@if($item->file != null)
@endif
|
${{$item->amount}}
{{$item->status->name}}
|
Acciones
|
@endforeach
@else
@endif
@endif
@if($submenu == 'notes')
@if(count($contact->notes) != 0 )
@include('partials.success')
@foreach($contact->notes as $item)
{{$item->contact->person->letters_name}}
@endforeach
@endif
@endif