Update codebase

- Fix payable ujrah branch response
- Add route and controller function to query for online transaction. for now can query by date
- Add route and controller function to get online transaction trail. the endpoint will return the data from 4 interlinked table for
  online transaction needed to complete phase
This commit is contained in:
Afiq Hamzah
2024-07-15 16:28:39 +08:00
parent 6014c8d9cf
commit f037dc539a
3 changed files with 89 additions and 6 deletions
@@ -14,8 +14,7 @@ class PayableUjrahBranchController extends Controller
{
$this->syncCawangan();
$payableUjrahBranch = PayableUjrahBranch::with('cawangan_information')->get()->toJson();
return json_encode($payableUjrahBranch);
return PayableUjrahBranch::with('cawangan_information')->get()->toJson();
}
public function syncCawangan()