@extends('layouts.app') @section('title', 'Purchase Bills') @section('page_title', 'Purchase Bills & Inward Stock') @section('content')
@if(request()->hasAny(['search', 'payment_status'])) Clear @endif
New Purchase Bill
@forelse($purchases as $purchase) @empty @endforelse
Purchase # / Date Supplier (Vendor) Supplier Bill # Tax Type Taxable Amount Input Tax (ITC) Grand Total Balance Due Status Actions
{{ $purchase->purchase_number }}
{{ $purchase->purchase_date->format('d M Y') }}
{{ $purchase->party_name }}
GSTIN: {{ $purchase->party_gstin ?: 'Unregistered' }}
{{ $purchase->supplier_bill_no ?: '-' }} @if($purchase->is_inter_state) IGST ({{ $purchase->place_of_supply_state }}) @else CGST + SGST (Intra) @endif ₹{{ number_format($purchase->taxable_amount, 2) }} ₹{{ number_format($purchase->total_tax_amount, 2) }} ₹{{ number_format($purchase->grand_total, 2) }} ₹{{ number_format($purchase->balance_due, 2) }} @if($purchase->status == 'cancelled') Cancelled @else {{ ucfirst(str_replace('_', ' ', $purchase->payment_status)) }} @endif
No purchase bills recorded yet.
@if($purchases->hasPages()) @endif
@endsection