@extends('layouts.app') @section('title', 'ERP Dashboard') @section('page_title', 'ERP Executive Dashboard') @section('content')
| Tax Head | Output Tax (Sales) | Input Tax (Purchases) |
|---|---|---|
| CGST | ₹{{ number_format($outputCgst, 2) }} | ₹{{ number_format($inputCgst, 2) }} |
| SGST | ₹{{ number_format($outputSgst, 2) }} | ₹{{ number_format($inputSgst, 2) }} |
| IGST (Inter-State) | ₹{{ number_format($outputIgst, 2) }} | ₹{{ number_format($inputIgst, 2) }} |
| Total Tax | ₹{{ number_format($totalOutputTax, 2) }} | ₹{{ number_format($totalInputTax, 2) }} |
| Product / SKU | Current Stock | Reorder Level | Action |
|---|---|---|---|
|
{{ $prod->name }}
SKU: {{ $prod->sku }} | HSN: {{ $prod->hsn_code }}
|
{{ number_format($prod->current_stock, 0) }} {{ $prod->unit ? $prod->unit->short_code : '' }} | {{ number_format($prod->reorder_level, 0) }} {{ $prod->unit ? $prod->unit->short_code : '' }} | Reorder |
| Invoice # | Customer / Place of Supply | Amount | Status |
|---|---|---|---|
|
{{ $inv->invoice_number }}
{{ $inv->invoice_date->format('d M Y') }}
|
{{ $inv->party_name }}
{{ $inv->place_of_supply_state }} ({{ $inv->is_inter_state ? 'IGST' : 'CGST+SGST' }})
|
₹{{ number_format($inv->grand_total, 2) }} | {{ ucfirst(str_replace('_', ' ', $inv->payment_status)) }} |
| No sales invoices yet. | |||
| Timestamp | Product | Movement Type | Quantity | Stock Before | Stock After | Reference / Notes |
|---|---|---|---|---|---|---|
| {{ $move->created_at->format('d M Y, h:i A') }} | {{ $move->product ? $move->product->name : 'N/A' }} | {{ $move->formatted_type }} | {{ in_array($move->movement_type, ['purchase', 'adjustment_add', 'sale_return']) ? '+' : '-' }}{{ number_format($move->quantity, 0) }} | {{ number_format($move->stock_before, 0) }} | {{ number_format($move->stock_after, 0) }} | {{ $move->notes ?? ($move->reference_type ? "Ref: {$move->reference_type} #{$move->reference_id}" : '-') }} |
| No stock movements recorded yet. | ||||||