# V25 Update

Implemented the requested Sivakasi Crackers updates:

1. Product List PDF redesigned with category headings, colorful section headers, bordered table rows/columns, MRP, discount %, selling price and out-of-stock status. Company logo is embedded when the configured logo is PNG/JPG and supported by the PDF renderer.
2. Order/Estimation PDF redesigned with company logo, theme colors, highlighted discount %, saved amount and amount due.
3. Promotional popup poster added to Admin → Settings → Shop Image Row & Partner Logos. Upload a poster, activate/deactivate it. It opens automatically on customer pages and closes after 10 seconds or by clicking X. The older lead popup is suppressed while an active poster exists.
4. Homepage category discount badges are positioned at the top-right of each category image.
5. Shop page image-row removed. Out-of-stock products remain visible as disabled rows with an OUT OF STOCK label and no quantity controls.
6. Home image row now uses up to 3 images in one responsive row with equal sizing and white borders.
7. Admin New Order now redirects to a dedicated Order Saved confirmation screen only after the order has actually been saved.
8. Added `popup_poster_enabled` setting migration and popup poster media support.

## Database

Run:

```bash
php artisan migrate
php artisan optimize:clear
```

The existing V24.1 migration for `products.out_of_stock` is included. If it has not yet been run on the local database, `php artisan migrate` will create it.
