@extends('agency.layouts.app') @section('title', 'Tedarikçi Düzenle') @section('page_title', 'Tedarikçi Düzenle') @push('styles') @endpush @section('content')
{{-- Back link --}}
Tedarikçiler {{ $supplier->full_name }}
@if(session('error'))
{{ session('error') }}
@endif @if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @method('PUT') {{-- ─── TEMEL BİLGİLER ─── --}}
Temel Tedarikçi Bilgileri
{{-- Type selector --}}
@error('supplier_type')
{{ $message }}
@enderror
{{-- Individual Fields --}}
@error('first_name')
{{ $message }}
@enderror
@error('last_name')
{{ $message }}
@enderror
{{-- Corporate Fields --}}
@error('company_name')
{{ $message }}
@enderror
{{-- ─── SORUMLU KİŞİ BİLGİLERİ (Şirketler için Ekstra) ─── --}}
Sorumlu Kişi Bilgileri
{{-- ─── İLETİŞİM BİLGİLERİ ─── --}}
İletişim Bilgileri
@php $oldEmails = old('emails', $supplier->emails ?: ['']); @endphp @foreach($oldEmails as $index => $oldEmail)
@if($loop->first) @else @endif
@endforeach
@php $oldPhones = old('phones', $supplier->phones ?: ['']); @endphp @foreach($oldPhones as $index => $oldPhone)
@if($loop->first) @else @endif
@endforeach
{{-- ─── ADRES BİLGİLERİ ─── --}}
Adres & Konum
{{-- ─── FATURA BİLGİLERİ (Şirketler için Ekstra) ─── --}}
Fatura Bilgileri
{{-- ─── NOTLAR ─── --}}
Notlar & Not Defteri
Bu notlar yalnızca acente yöneticilerine ve personelinize görünecektir.
{{-- ─── FOOTER ─── --}}
@endsection @push('scripts') @endpush