SAFE RESOURCES LTD - V10.2 CLIENT PAYROLL & SETTINGS
====================================================

WHAT THIS UPDATE ADDS
---------------------
- Registered-client selection in Guard Registration and Edit Guard.
- Client column and client filter in Salaries / Payroll.
- Compact payroll table with exactly 10 guards per page.
- One Save All Changes button for all visible payroll rows.
- Settings link in the top navigation.
- Default basic salary for all guards.
- Individual basic-salary exceptions for selected guards.

Existing guards, clients, attendance, bank details and payroll records are kept.

STEP 1 - BACK UP
----------------
Back up the security_management_system folder and export the
citytec_safe_resources database.

STEP 2 - IMPORT SQL FIRST (REQUIRED)
------------------------------------
1. Open phpMyAdmin.
2. Select citytec_safe_resources.
3. Click Import.
4. Import database/update_v10_2_client_salary_settings.sql.
5. Confirm the import succeeds. Import this file only once.

STEP 3 - UPLOAD FILES
---------------------
Extract this ZIP into:

/home/citytec/public_html/saferesourcesltd.citytec.co.tz/security_management_system/

Choose overwrite/replace existing files. Do not extract it inside the public
folder because this ZIP already contains public, includes and database folders.

STEP 4 - CONFIGURE SALARIES
---------------------------
1. Press Ctrl + F5 in Chrome.
2. Open Settings from the top bar.
3. Enter the default basic salary and save it.
4. Add exceptions only for guards whose basic salary is different.
5. Edit existing guards and choose their registered Client.
6. Open Finance > Salaries / Payroll.

The ZIP excludes config.php and does not change database credentials or login.
