@extends('layouts.app') @section('title', 'Purchases') @section('third_party_stylesheets') @endsection @section('breadcrumb')
@endsection @section('content')ID | Date | Reference | Supplier ID | Total | Paid | Due | Status |
---|---|---|---|---|---|---|---|
{{ $purchase->id }} | {{ $purchase->date }} | {{ $purchase->reference_no }} | {{ $purchase->supplier_id }} | {{ $purchase->total / 100 }} | {{ $purchase->paid_amount / 100 }} | {{ $purchase->due_amount / 100 }} | {{ $purchase->payment_status }} |
No purchases found in database. |
Active Branch: {{ session('active_branch') ?? 'Not set' }}
Database Connection: {{ config('database.default') }}
Purchases Table Exists: {{ Schema::hasTable('purchases') ? 'Yes' : 'No' }}
Purchases Count: {{ DB::table('purchases')->count() }}