# Quick Start - Invoice Layout Switcher

## 🚀 5-Minute Setup Guide

### ✅ Already Done!
The invoice layout switcher is already installed and ready to use. No additional setup required!

## 🎯 How to Use (3 Steps)

### Step 1: Open POS Pro
```
http://127.0.0.1:8001/pos/create
```

### Step 2: Click Layout Button
Look for the **Layout** button in the header (after Settings button)
```
[⚙️ Settings] [📄 Layout] [➕ Add Expense]
                   ↑
              Click here!
```

### Step 3: Select Your Layout
Choose from 8 available layouts:
- Classic
- Elegant  
- Detailed
- Saudi Invoice (QR code)
- Saudi Thermal 80mm (QR code)
- Saudi Thermal 58mm (QR code)
- Slim (80mm)
- Slim 2 (58mm)

## ✅ That's It!

Your selection is automatically saved. All future invoices will use the selected layout.

## 🧪 Quick Test

1. Select "Saudi Thermal 80mm"
2. Add a product to cart
3. Complete the sale
4. Invoice opens in 80mm thermal layout! ✅

## 📋 Layout Recommendations

### For A4 Printer:
```
✅ Saudi Invoice - Best for Saudi VAT compliance
✅ Classic - Fast and simple
✅ Elegant - Professional look
```

### For 80mm Thermal:
```
✅ Saudi Thermal 80mm - Saudi VAT with QR code
✅ Slim - Standard thermal
```

### For 58mm Thermal:
```
✅ Saudi Thermal 58mm - Saudi VAT with QR code
✅ Slim 2 - Standard thermal
```

## 🎨 Features

✅ One-click layout switching
✅ No page reload needed
✅ Automatic save
✅ Works with all printers
✅ QR code support
✅ Bilingual (Arabic/English)

## 🐛 Troubleshooting

### Layout not changing?
```bash
# Clear cache
php artisan cache:clear
php artisan view:clear
```

### Dropdown not opening?
```
Press F12 → Check Console for errors
```

### Need help?
```
Read: INVOICE_LAYOUT_SWITCHER_GUIDE.md
Read: INVOICE_LAYOUT_SWITCHER_URDU.md
```

## 📚 Documentation

1. **QUICK_START_LAYOUT_SWITCHER.md** - This file (Quick start)
2. **INVOICE_LAYOUT_SWITCHER_GUIDE.md** - Complete English guide
3. **INVOICE_LAYOUT_SWITCHER_URDU.md** - Complete Urdu guide
4. **LAYOUT_SWITCHER_VISUAL.md** - Visual diagrams
5. **LAYOUT_SWITCHER_SUMMARY.md** - Technical summary

## 🎉 Enjoy!

You can now switch invoice layouts instantly from the POS Pro page!

---

**Need more details?** Read the complete guides above.
