# Mobile Shop ERP V5 Updates

This version improves the Laravel 12 mobile shop ERP with requested missing parts:

## Navigation
- Sidebar redesigned with grouped dropdown menus:
  - Quick Action & Save: Sale, Purchase, Stock, Payments
  - Transactions: Sale, Purchase, Stock, Payments, Returns, Expenses
  - Reports: Sale, Purchase, Stock, Payments, Expenses, Income, Profit and Report Wizard
- Dashboard quick buttons added for Sale, Purchase, Stock, Payments and Reports.

## Translation Manager
- New Translation Manager module: `/translations`
- Edit system labels in English, Pashto and Dari.
- Add new translation keys from the admin panel.
- Language files are updated in `lang/en/app.php`, `lang/ps/app.php`, and `lang/fa/app.php`.

## Users, Employees, Roles and Permissions
- New `roles` table.
- New `employees` table.
- New custom permissions system without Spatie dependency.
- User roles can be configured from Master Data > Roles.
- Employees can be created and linked to users.
- Permissions include sales, purchases, stock, payments, returns, expenses, reports and settings.

## Edit / Delete Options
Added edit and delete options for:
- Sales invoices
- Purchases
- Stock mobiles
- Payments
- Customer receipts
- Supplier payments
- Returns
- Expenses
- Master data records

## Design and UX
- Better sidebar animation and dropdown behavior.
- Improved table action buttons.
- Select2-like searchable combo boxes remain active for all selects.
- Font Awesome-style local icon set expanded.
- Wizard forms now support edit flows for payments and returns.

## Important commands after update

```bash
composer dump-autoload
php artisan migrate --seed
php artisan storage:link
php artisan optimize:clear
php artisan serve
```

Login:

```text
Email: admin@mobile.test
Password: password
```
