13 Commits
Author SHA1 Message Date
Thanakorn SandClaude Sonnet 4.6 b07882e3f4 code audit fixes: require_once, issue flow, role guards
- Upgraded all plain `require` to `require_once` across 172 api/engine
  and api/engine_report files to prevent class-redeclaration errors
- Added issue button, issue_invoice() with GL toastr, and delete_invoice()
  to expense/manage_purchase_invoice.php, bringing it in line with
  po/manage_purchase_invoice.php
- Added can_delete role guard (admin/owner only) to trash icons on
  revenue/invoice.php and expense/purchase_invoice.php, matching the
  existing pattern in finance/receipt.php and finance/payment.php

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-23 17:06:08 +07:00
Thanakorn S 7396db6ffc accounting workflows 2026-05-20 10:17:02 +07:00
Thanakorn S 2eb6a1a315 roles guard + docs + logo 2026-05-06 16:37:20 +07:00
Thanakorn S 6501d326ca [test] contact to setting modules 2026-05-06 08:58:09 +07:00
Thanakorn S 2061624641 [OOP] contact,inventory,ics,dashboard 2026-04-28 15:44:57 +07:00
Thanakorn S 3cc5baba3f Lot, Serial, ExpiryDate 2026-04-25 14:37:00 +07:00
Thanakorn S a75e180686 generic API response + ICS: warehouse_balance md_rack update 2026-04-23 16:06:19 +07:00
Thanakorn S ed23c269ea warehouse capacity and occupancy 2026-04-23 08:24:30 +07:00
Thanakorn S 35dd1a9fce more OOP and restructure utils 2026-04-22 15:55:18 +07:00
Thanakorn S 8834d672ba Product: FILE uploads 2026-04-21 11:31:51 +07:00
Thanakorn S a4f474b5df ICS modules 2026-03-21 14:58:15 +07:00
Thanakorn S 7cb78d013b Complete security audit fixes 2026-03-09 14:31:39 +07:00
Thanakorn S 9a50080ae5 init wms 2026-02-19 14:48:40 +07:00