@extends('layouts.master') @section('title', 'Input Sales Invoice') @section('css') @endsection @section('content')
| No | Nomor Faktur | Kode Pelanggan | Pelanggan | Tanggal Faktur | Tanggal Pengiriman | Jumlah Qty | Nominal Bfr Tax | Nominal | |
|---|---|---|---|---|---|---|---|---|---|
| {{$loop->iteration}} | {{$si->sales_invoice_number??$si->pbr_number}} | {{$si->customer_code}} | {{$si->customers->customer_name}} | {{ \Carbon\Carbon::parse($si->document_date)->format('d M Y') }} | {{ \Carbon\Carbon::parse($si->delivery_date)->format('d M Y') }} | @if($si instanceof \App\Models\SalesInvoice||$si instanceof \App\Models\Pbr) {{ number_format($si->details->sum('qty'), 0, ',', '.') }} @else {{ number_format($si->qty ?? 0, 0, ',', '.') }} @endif | {{number_format($si->subtotal)}} | {{number_format($si->total)}} | |
| Total | |||||||||