Posts

Showing posts from July, 2026

Purchasing module in bizpace

Web flow Item-requests by every user        | Po creation by every user or purchasing officer from dashboard in clicks according to the items.         | GRN creation multiple times until all qty received          | Supplier bill by Multiple GRNs         | PAYMENTS OR POST-PAYMENTS OF MULTIPLE BILLS         | The End Controllers -> Tenant/Purchasing docs -> for AI files js -> resources/js/modules/purchasing/* lang -> lang/en/purchasing, lang/en/petty_cash_bills, lang/en/post-payments views -> tenant/purchasing, tenant/reporting routes -> web.php inside aman routes section

Changed names of Models and tables

1. Account -> Contact 2. Company -> Account 3. CompanyAddress -> AccountAddress 4. ClientDepartments -> Departments  5. ClientBranches -> Location  6. ClientCountry -> skipping it

Every js needs

1. copy from other js of products or other related module 2. change tbl_* by tbl_* name on index blade 3. change routes

Every controller needs

Every table & model needs

Basic Changes in model and table  client_master_id -------------- tenant_id client_user_id------------------ created_by branch_id ---------------------- tenant_branch_id country_id --------------------- tenant_country_id client_branch_id ---------------------- tenant_branch_id client_country_id --------------------- tenant_country_id 1. in Table create queries  - take sc from live or local (describe table_name;) - upload in chat.openai.com at migration project's create query chat 2. in Model props  - replace above in fillable and methods (By search&replace) - extends BaseTenantModel (if any table have tenant_id or storing for every client's data) - for ClientBranches its already in App\Tenant\ClientBranches