@extends('backend.layout.app') @section('content') @push('css') @endpush
{{-- Header --}}

POS System

Enroll students in courses or sell books instantly

{{-- ═══ LEFT PANEL: Student & Cart ═══ --}}
{{-- 1. Student Search --}}
{{-- 2. Cart --}}
2. Cart 0

Cart is empty — add a course or book

{{-- Summary --}}
Subtotal 0৳
Discount
-0৳
Shipping Charge
+0৳
Total Payable 0৳
{{-- 3. Payment --}}
{{-- Shipping (shown only when physical book is in cart) --}}
{{-- ═══ RIGHT PANEL: Catalog ═══ --}}
{{-- Tab switcher --}}
{{-- Search --}}
{{-- Course Grid --}}
@forelse($courses as $course)
{{ $course->course_type }} {{ $course->title }}
{{ $course->title }}
{{ $course->discounted_price ?: $course->original_price }}৳
@empty

No courses available.

@endforelse
{{-- Book Grid (hidden by default) --}}
@forelse($books as $book)
{{ ucfirst($book->book_type) }} @if($book->book_type === 'physical' && $book->stock <= 0) Out of Stock @endif {{ $book->title }}
{{ $book->title }}
{{ $book->sale_price ?: $book->regular_price }}৳ @if($book->book_type === 'physical' && $book->stock <= 0) @else @endif
@empty

No books available.

@endforelse
@push('js') @endpush @endsection