@extends('layouts.app') @section('content')
{{-- BREADCRUMB --}}
apartment
@if (isset($company)) {{ $company->name }} @else YENİ CARİ HESAP @endif
@csrf @if (isset($company)) @method('PATCH') @endif {{-- CONTENT --}}
İşletme tipi
type ?? 'client') == 'client') checked @endif>
type ?? 'client') == 'supplier') checked @endif>
@include('modals.cancel', [ 'title' => 'YAPTIĞINIZ DEĞİŞİKLİKLER KAYBOLACAK!', 'subtitle' => 'İPTAL ETMEK İSTEDİĞİNİZDEN EMİN MİSİNİZ?', 'route' => route('dashboard'), 'button' => 'VAZGEÇ', 'cancel' => 'GERİ DÖN', 'confirm' => 'EVET, İPTAL ET', ]) @if (isset($company)) @include('modals.confirm', [ 'title' => 'CARİ HESAP GÜNCELLENECEK', 'subtitle' => 'DEĞİŞİKLİKLER KAYIT EDİLECEK. DEVAM ETMEK İSTİYOR MUSUNUZ?', 'route' => '#', 'button' => 'GÜNCELLE', 'cancel' => 'GERİ DÖN', 'confirm' => 'GÜNCELLE', ]) @include('modals.cancel', [ 'title' => 'CARİ HESAP SİLİNECEK.', 'subtitle' => 'CARİ HESAP SİLİNECEK. DEVAM ETMEK İSTİYOR MUSUNUZ?', 'route' => route('companies.destroy', $company->id), 'button' => 'SİL', 'cancel' => 'GERİ DÖN', 'confirm' => 'SİL', ]) @else @include('modals.confirm', [ 'title' => 'CARİ HESAP OLUŞTURULACAK', 'subtitle' => 'DEVAM ETMEK İSTİYOR MUSUNUZ?', 'route' => '#', 'button' => 'OLUŞTUR', 'cancel' => 'GERİ DÖN', 'confirm' => 'OLUŞTUR', ]) @endif
@endsection @section('scripts') @endsection