mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-21 15:20:34 +00:00
feat: payment receive and made form.
This commit is contained in:
@@ -109,17 +109,30 @@ export const fetchPaymentMade = ({ id }) => {
|
||||
paymentMade: response.data.bill_payment,
|
||||
},
|
||||
});
|
||||
dispatch({
|
||||
type: t.BILLS_ITEMS_SET,
|
||||
payload: {
|
||||
bills: response.data.payable_bills,
|
||||
},
|
||||
});
|
||||
dispatch({
|
||||
type: t.BILLS_PAYABLE_BY_PAYMENT_ID,
|
||||
payload: {
|
||||
billPaymentId: id,
|
||||
bills: response.data.bill_payment.payable_bills,
|
||||
billPaymentId: response.data.bill_payment.id,
|
||||
bills: response.data.payable_bills,
|
||||
},
|
||||
});
|
||||
dispatch({
|
||||
type: t.BILLS_ITEMS_SET,
|
||||
payload: {
|
||||
bills: response.data.bill_payment.payable_bills,
|
||||
bills: response.data.payment_bills,
|
||||
},
|
||||
});
|
||||
dispatch({
|
||||
type: t.BILLS_BY_PAYMENT_ID,
|
||||
payload: {
|
||||
billPaymentId: response.data.bill_payment.id,
|
||||
bills: response.data.payment_bills,
|
||||
},
|
||||
});
|
||||
resovle(response);
|
||||
|
||||
Reference in New Issue
Block a user