@extends('layouts.app') @section('headScripts') @endsection @section('content')
@if(count($invoices) > 0) @foreach ($invoices as $item) @endforeach @else Seçili aralıkta veri bulunmuyor. @endif
Hareket Tipi Tarihi Cari Hesap Numara Durum Detaylar Ara toplam Vergiler Genel Toplam
@if($item->type == 'sales_invoice')

SATIŞ FATURASI

@elseif($item->type == 'purchase_invoice')

ALIŞ FATURASI

@elseif($item->type == 'sales_receipt')

SATIŞ FİŞİ

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

ALIŞ FİŞİ

@endif
{{ date('d.m.Y', strtotime($item->date)) }} @if ($item->durum == 2) E-belge @elseif ($item->durum == 1) İşleme Hatası @endif @if ($item->type == 'sales_invoice' || $item->type == 'purchase_invoice') @foreach($item->lines as $line) {{ $line->product->name }}{{ !$loop->last ? ',' : '' }} @endforeach @elseif ($item->type == 'sales_receipt' || $item->type == 'purchase_receipt') {{ $item->note }} @endif {{ number_format($item->total_sub, 2, ',', '.') }} {{ number_format($item->total_vat, 2, ',', '.') }} {{ number_format($item->total_amount, 2, ',', '.') }} {{ $item->currency }}
@endsection @section('scripts') @endsection