diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-08-14 11:34:38 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-08-14 11:34:38 +0700 |
| commit | 544f0321f069254b64ea080d11724ab3e4a92bce (patch) | |
| tree | 942ad5679e3b48fdbd82a9be6459ae1330b72eed /src/lib/transaction/api | |
| parent | 4b74228b697ba5a04e8b8850d769a676070df4ca (diff) | |
<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 } |
