@extends('layouts.app') @section('content')
{{-- BREADCRUMB --}}
@csrf @if(isset($receipt)) @method('PUT') @endif
{{-- CONTENT --}} @include('partials.receipt-header')
@if ($company != null || isset($receipt)) @else
@endif @if(!isset($receipt)) @endif {{-- FİŞ BİLGİLERİ --}}
TRL
%
TRL
TRL
@if ($type != 'spend' && $type != 'quick-sale')
@endif
{{-- ÖDEME / TAHSİLAT BİLGİLERİ --}} @if ($type == 'spend' || $type == 'quick-sale')

{{ $type == 'quick-sale' ? 'Tahsilat Bilgileri' : 'Ödeme Bilgileri' }}

TRL
@endif
{{-- x-data wrapper --}}
{{-- BUTTONS --}}
@include('modals.cancel', [ 'title' => 'YAPTIĞINIZ DEĞİŞİKLİKLER KAYBOLACAK!', 'subtitle' => 'İPTAL ETMEK İSTEDİĞİNİZDEN EMİN MİSİNİZ?', 'route' => isset($receipt) ? route('companies.show', $receipt->company->slug) : route('dashboard'), 'cancel' => 'HAYIR, GERİ DÖN', 'confirm' => 'EVET, İPTAL ET', 'b_name' => 'VAZGEÇ', 'b_ring' => 'rose', ]) @include('modals.confirm', [ 'title' => isset($receipt) ? 'FİŞ GÜNCELLENECEK' : 'FİŞ OLUŞTURULACAK', 'subtitle' => 'DEVAM ETMEK İSTİYOR MUSUNUZ?', 'route' => '#', 'cancel' => 'HAYIR, GERİ DÖN', 'confirm' => isset($receipt) ? 'EVET, GÜNCELLE' : 'EVET, OLUŞTUR', 'b_name' => isset($receipt) ? 'GÜNCELLE' : 'OLUŞTUR', 'b_ring' => 'teal', ])
@endsection @section('scripts') @endsection @section('outerScripts') @endsection