@extends('layouts.app') @section('content')
{{-- BREADCRUMB --}}
{{-- YAZDIR --}} DÜZENLE @include('modals.cancel', [ 'title' => 'EFİŞ OLUŞTURULACAK', 'subtitle' => 'FİŞ silme işlemi geri alınamaz. Devam etmek istiyor musunuz?', 'route' => route('invoices.destroy', $invoice->id), 'button' => 'BELGEYİ SİL', 'cancel' => 'HAYIR, GERİ DÖN', 'confirm' => 'EVET, SİL' ])
{{-- FİŞ BİLGİLERİ --}}
FİŞ BİLGİLERİ
{{ $invoice->company->name }}
{{ date('d.m.Y', strtotime($invoice->date)) }}
{{ $invoice->number }}
TR.1.2
TEMELFİŞ
{{ $invoice->type }}
{{ $invoice->currency }}
@if($invoice->currency != 'TRL')
{{ $invoice->ex_rate }} TRL
@endif
-
@if ($invoice->uuid != null)
{{ $invoice->uuid }}
@endif @if ($invoice->belgeOid != null)
{{ $invoice->belgeOid }}
@endif
{{-- AKTİVİTELER --}}

history Düzenleme Geçmişi

  • {{ $invoice->user->name }}
    Belgeyi oluşturdu.

    @if($invoice->created_at) @endif
@if($invoice->type == 'sales_receipt')

SATIŞ FİŞİ

@elseif($invoice->type == 'purchase_receipt')

ALIŞ FİŞİ

@endif @if($invoice->deleted_at != null)

Bu belge {{ $invoice->deleted_at->diffForHumans() }} silindi.

@endif
DÜZENLEYEN
@if($invoice->type == 'sales_receipt')
{{ $invoice_address->title }}

{{ $invoice_address->line_1 }} {{ $invoice_address->line_2 }}

{{ $invoice_address->district}}{{ $invoice_address->city != "" ? '/'.$invoice_address->city : ""}}{{ $invoice_address->country != "" ? '/'.$invoice_address->country : "" }}{{ $invoice_address->zip != "" ? ' - PK.'.$invoice_address->zip : "" }}

{{ $invoice_address->tax_office != "" ? 'VD.'. $invoice_address->tax_office : "" }}{{ $invoice_address->vat_number != "" ? ' - VN.'. $invoice_address->vat_number : ""}}

@else @if($customer_address)
{{ $customer_address->title }}

{{ $customer_address->line_1 }} {{ $customer_address->line_2 }}

{{ $customer_address->district}}{{ $customer_address->city != "" ? '/'.$customer_address->city : ""}}{{ $customer_address->country != "" ? '/'.$customer_address->country : "" }}{{ $customer_address->zip != "" ? ' - PK.'.$customer_address->zip : "" }}

{{ $customer_address->tax_office != "" ? 'VD.'. $customer_address->tax_office : "" }}{{ $customer_address->vat_number != "" ? ' - VN.'. $customer_address->vat_number : ""}}

@else
{{ $invoice->company->name }}
@endif @endif
ALICI
@if($invoice->type == 'sales_receipt') @if ($customer_address)
{{ $customer_address->title }}

{{ $customer_address->line_1 }} {{ $customer_address->line_2 }}

{{ $customer_address->district}}{{ $customer_address->city != "" ? '/'.$customer_address->city : ""}}{{ $customer_address->country != "" ? '/'.$customer_address->country : "" }}{{ $customer_address->zip != "" ? ' - PK.'.$customer_address->zip : "" }}

{{ $customer_address->tax_office != "" ? 'VD.'. $customer_address->tax_office : "" }}{{ $customer_address->vat_number != "" ? ' - VN.'. $customer_address->vat_number : ""}}

@else
{{ $invoice->company->name }}
@endif @else
{{ $invoice_address->title }}

{{ $invoice_address->line_1 }} {{ $invoice_address->line_2 }}

{{ $invoice_address->district}}{{ $invoice_address->city != "" ? '/'.$invoice_address->city : ""}}{{ $invoice_address->country != "" ? '/'.$invoice_address->country : "" }}{{ $invoice_address->zip != "" ? ' - PK.'.$invoice_address->zip : "" }}

{{ $invoice_address->tax_office != "" ? 'VD.'. $invoice_address->tax_office : "" }}{{ $invoice_address->vat_number != "" ? ' - VN.'. $invoice_address->vat_number : ""}}

@endif
{{-- FİŞ İÇERİĞİ --}} @if ($invoice->type == 'sales_receipt' || $invoice->type == 'purchase_receipt') @include('invoice._partials.receipt-content') @elseif ($invoice->type == 'received' || $invoice->type == 'paid') @include('invoice._partials.bill-content') @endif
@endsection @section('scripts') @endsection @section('outerScripts') @endsection