diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2024-08-14 09:43:05 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2024-08-14 09:43:05 +0000 |
| commit | 879fa756d9445c8657e9133938a25593402d1018 (patch) | |
| tree | 6fa6f482e6b413854f1f801021b83e322d12b3cd /src/lib/transaction/api | |
| parent | 2bb4726e77410c6d2a363c2cbf76cbdb0d088bf7 (diff) | |
| parent | 544f0321f069254b64ea080d11724ab3e4a92bce (diff) | |
Merged in bug-quotation (pull request #236)
<iman> update button lanjutkan transaksi & status quotation logic after upload po
Diffstat (limited to 'src/lib/transaction/api')
| -rw-r--r-- | src/lib/transaction/api/checkoutPoApi.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/transaction/api/checkoutPoApi.js b/src/lib/transaction/api/checkoutPoApi.js index 04421368..af41d277 100644 --- a/src/lib/transaction/api/checkoutPoApi.js +++ b/src/lib/transaction/api/checkoutPoApi.js @@ -1,11 +1,11 @@ import odooApi from '@/core/api/odooApi' import { getAuth } from '@/core/utils/auth' -const checkoutPoApi = async ({ id }) => { +const checkoutPoApi = async ({ id, status }) => { const auth = getAuth() const dataCheckout = await odooApi( 'POST', - `/api/v1/partner/${auth?.partnerId}/sale_order/${id}/checkout` + `/api/v1/partner/${auth?.partnerId}/sale_order/${id}/checkout`,{status} ) return dataCheckout } |
