@extends('layouts.app') @section('title', 'Accounting') @section('page-title', 'Accounting & GST Dashboard') @section('content')
{{-- Quick links --}}
@foreach([ ['P&L Statement', route('accounting.profit-loss'), 'text-green-600', 'bg-green-50'], ['Balance Sheet', route('accounting.balance-sheet'), 'text-blue-600', 'bg-blue-50'], ['Trial Balance', route('accounting.trial-balance'), 'text-purple-600', 'bg-purple-50'], ['GSTR-3B', route('accounting.gstr3b'), 'text-orange-600', 'bg-orange-50'], ] as [$label, $url, $tc, $bg])

{{ $label }}

@endforeach
{{-- P&L summary --}}

Total Revenue (FY)

₹{{ number_format($pl['revenue']['total'], 2) }}

Total Expenses (FY)

₹{{ number_format($pl['expense']['total'], 2) }}

Net Profit / Loss

{{ $pl['net_profit'] >= 0 ? '' : '- ' }}₹{{ number_format(abs($pl['net_profit']), 2) }}

{{-- GST Summary this month --}}

GST Summary — {{ now()->format('F Y') }}

₹{{ number_format($gstSummary['outward_taxable'], 2) }}

Taxable Turnover

₹{{ number_format($gstSummary['outward_total_tax'], 2) }}

Output Tax

₹{{ number_format($gstSummary['itc_total'], 2) }}

Input Tax Credit

₹{{ number_format($gstSummary['net_tax_payable'], 2) }}

Net GST Payable

@foreach([ ['CGST Out', $gstSummary['outward_cgst'], 'text-gray-600'], ['SGST Out', $gstSummary['outward_sgst'], 'text-gray-600'], ['IGST Out', $gstSummary['outward_igst'], 'text-gray-600'], ['CGST ITC', $gstSummary['itc_cgst'], 'text-green-600'], ['SGST ITC', $gstSummary['itc_sgst'], 'text-green-600'], ['IGST ITC', $gstSummary['itc_igst'], 'text-green-600'], ] as [$l, $v, $c])

₹{{ number_format($v, 2) }}

{{ $l }}

@endforeach
{{-- Quick report links --}}

Accounting Reports

    @foreach([ ['Trial Balance', route('accounting.trial-balance')], ['Profit & Loss Statement', route('accounting.profit-loss')], ['Balance Sheet', route('accounting.balance-sheet')], ['General Ledger', route('accounting.ledger')], ['Chart of Accounts', route('accounting.accounts')], ] as [$l, $u])
  • {{ $l }}
  • @endforeach

GST Returns

    @foreach([ ['GSTR-1 (Outward Supplies)', route('accounting.gstr1')], ['GSTR-3B (Monthly Return)', route('accounting.gstr3b')], ['GST Returns History', route('accounting.gst-returns')], ] as [$l, $u])
  • {{ $l }}
  • @endforeach
@endsection