@extends('layouts.app') @section('headScripts') @endsection @section('content')
@if (count($offers) > 0) @foreach ($offers as $item) @endforeach @else Seçili aralıkta veri bulunmuyor. @endif
Hareket Tipi Tarihi Cari Hesap Numara 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->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->trl_sub, 2, ',', '.') }} {{ number_format($item->total_vat, 2, ',', '.') }} {{ number_format($item->total_amount, 2, ',', '.') }} {{ $item->currency }}
@endsection @section('scripts') @endsection