Skip to main content

Overview

Document Purpose

This documentation was prepared for 2 main purposes:

  1. Onboarding new engineers to understand the end-to-end Adi Jaya system.
  2. Team operational reference (dev, QA, ops, internal PM) for maintenance and troubleshooting.

System Summary

Adi Jaya is a procurement & payment workflow application based on Laravel 8 with 3 main surfaces:

  • Web Admin (/admin/*) for internal operations (Head Admin, Logistics, Accounting, SPK, Project/SPV).
  • Mobile/API v1 (/api/v1/*) for project/SPV/head admin workflows via JSON API + Sanctum.
  • Membership API (/membership/*, via separate route) for register/login/OTP/FCM.

Domain Scope

The system includes the following business flows:

  • SPB (Goods Request Letter)
  • PO (Purchase Order)
  • PO Payment (including split payment + price changes)
  • PO Payment Receipt
  • SPK module (contract, revision, payment, accounting, receipt)
  • Master data: Project, Supplier, Employee, Role Access

Key Technologies

AreasStacks
BackendLaravel 8.12, PHP ^8.1 (composer.json)
Auth APILaravel Sanctum
Realtime/NotifFCM via Timedoor membership/Fcmable package
PDF Exportbarryvdh/laravel-dompdf
Excel Exportmaatwebsite/excel
Filteringtimedoor/filter
Frontend AdminBlade + Laravel Mix + Vue 3 dependencies
DocumentationDocusaurus 3.9.2

Entry Points

SurfacesPrefixDescription
Web Admin/adminMain web operational route
API v1/api/v1Mobile API/project flow
Legacy APIs/apiMinimum default (/user)
Membershiproutes/membership.phpRegister/Login/OTP/Fcm

Main Role

Role defined in App\\Models\\User + Gate in AuthServiceProvider:

  • head_admin
  • project
  • spv
  • logistics
  • logistics_admin
  • accounting
  • accounting_admin
  • spk
  • pm (available on model/gate, specific route usage requires verification)

Critical Status per Domain

DomainsCritical Status
SPBwaiting_confirmation, revision, approved, reject
POwaiting_confirmation, approved, complaint, received, cancel, reject, received_by_logistic
Paymentwaiting_confirmation, approved, verified
SPKenum: WAITING_APPROVAL, REVISION, APPROVED, FINISHED, REJECTED
SPK Paymentenum: WAITING_APPROVAL, REVISION, APPROVED, REJECTED

Quick Start Navigation

Verification Notes

  • Status: Partial
  • Scope: Endpoint runtime verification via php artisan route:list cannot be run in the audit environment (PHP binary is not available).
  • Action: Run route list verification on the primary application host and then sync endpoint changes.