update readme
This commit is contained in:
12
README.md
12
README.md
@@ -1,2 +1,14 @@
|
||||
# be-accone
|
||||
|
||||
## Generate payment instruction cicilan
|
||||
### curl command
|
||||
`
|
||||
curl -s -X POST "https://accone.aplikasi.web.id/one-api/mockup/scheduler/PurchaseInvoiceInstallment/GenerateMonthlyInvoices" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
`
|
||||
|
||||
### response
|
||||
`
|
||||
{"status":"OK","data":{"startDate":"2026-07-01","endDate":"2026-07-31","totalEligible":1,"totalInserted":1,"created":[{"installmentID":6,"contractID":"11","purchaseOrderID":"20","parentInvoiceID":"16","parentInvoiceNumber":"PI-016\/SDM-14\/SM-1\/VII\/2026","amount":5000000,"installDate":"2026-07-22","dueDate":"2026-07-29"}]}}
|
||||
`
|
||||
|
||||
@@ -806,7 +806,7 @@ class ReceiveItemPOAsset extends MY_Controller
|
||||
ReceiveOrderPoCreatedUserID
|
||||
)
|
||||
SELECT ?, ?, ?, ?, b.M_BranchCode, ?, ?, ?, ?, ?, ?, ?, ?
|
||||
FROM branch b
|
||||
FROM m_branch b
|
||||
WHERE b.M_BranchID = ?';
|
||||
$queInsRO = $this->db->query($sqlInsRO, [
|
||||
$numGR,
|
||||
@@ -962,7 +962,7 @@ class ReceiveItemPOAsset extends MY_Controller
|
||||
|
||||
// update receive order header #
|
||||
$sqlHeader = "UPDATE receive_order_po r
|
||||
JOIN branch b ON b.M_BranchID = ?
|
||||
JOIN m_branch b ON b.M_BranchID = ?
|
||||
SET
|
||||
r.ReceiveOrderPoNumber = ?,
|
||||
r.ReceiveOrderPoSupplierID = ?,
|
||||
|
||||
Reference in New Issue
Block a user