@extends('admin.layouts.adminpanel') @section('page_header') @php $page_title = empty($provider->id) ? __('Create new Provider') : __('Edit Provider'); @endphp @include('admin.partials.page_header') @endsection @section('content')
@if (!empty($provider->id)) @method('PATCH') @endif
(*) Datos obligatorios.

{{-- Map --}}
@can('consultar contactos')
@can('crear contactos')
@endcan @if ($provider->contacts->isNotEmpty()) @foreach ($provider->contacts as $contact) @endforeach @endif
{{ __('Name') }} {{ __('Title') }} {{ __('Celular') }} {{ __('Email') }} {{ __('Actions') }}
{{ $contact->name }} {{ $contact->title }} {{ $contact->phone }} {{ $contact->email }} @can('editar contactos') @endcan @can('borrar contactos') @endcan
No se han agregado contactos
@endcan {{-- buttons --}}
{{ __('Cancel') }}

@endsection