@extends('Billing.layout') @php $billLogoBase64 = ''; $logoPath = public_path('assets/img/bill_logo.png'); if (file_exists($logoPath)) { $billLogoBase64 = 'data:image/png;base64,' . base64_encode(file_get_contents($logoPath)); } @endphp @section('content') {{-- ── Self-contained toast ── --}}
{{-- ======================================================== --}} {{-- VIEW 1: TABLES VIEW (SCREEN 1) --}} {{-- ======================================================== --}}

Select a Table

Choose a free table or open an occupied table.

Loading tables…

{{-- ======================================================== --}} {{-- VIEW 2: PERSONS VIEW (SCREEN 2) --}} {{-- ======================================================== --}}

Table

Separate bills for each person

0 Persons
{{-- Injected dynamically --}}
{{-- ======================================================== --}} {{-- VIEW 3: ORDER VIEW (SCREEN 3) --}} {{-- ======================================================== --}}
{{-- Top row: back button, table+person title, and products/bill tabs --}}

Table 0

Person 1
{{-- ---- Products tab ---- --}}
0 items
{{-- ---- Bill tab ---- --}}

Sent to kitchen / juice 0

Nothing sent yet.

New items 0

Fast food items automatically go to the Kitchen printer and Juice/Drinks go to the Juice printer. Tick [✓] only if an item does not need to go to any printer.

No items added.

Payment Mode

Subtotal₹0.00
GST₹0.00
Discount− ₹0.00
Charge+ ₹0.00
Total₹0.00
{{-- ======================================================== --}} {{-- MODALS --}} {{-- ======================================================== --}} {{-- Close Bill Modal --}}

Close Bill for This Person

Close this person's bill? This will finalize this person's orders and generate their receipt.

Note: Other persons' orders on this table will remain active.

{{-- Delete Person Modal --}}

Delete Person

Are you sure you want to delete this person and cancel all their pending orders?

{{-- Remove Item Modal --}}

Remove Item

Remove this item from the order?

{{-- Discount Modal --}}

Add Discount

{{-- Charge Modal --}}

Add Charge

{{-- Customer Modal --}}

Customer Details

{{-- ======================================================== --}} {{-- CSS STYLES --}} {{-- ======================================================== --}} {{-- ======================================================== --}} {{-- JAVASCRIPT LOGIC --}} {{-- ======================================================== --}} @endsection