mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-27 09:13:14 +10:00
refund line item changed to customer-refund and provider-refund
This commit is contained in:
parent
fe95d581c7
commit
25f296afb3
1 changed files with 1 additions and 3 deletions
|
|
@ -64,9 +64,7 @@ export const BookingBreakdownComponent = props => {
|
|||
item => item.code === 'line-item/provider-commission'
|
||||
);
|
||||
const refund = transaction.attributes.lineItems.find(
|
||||
item =>
|
||||
item.code === 'line-item/refund' &&
|
||||
item.includeFor.includes(isProvider ? 'provider' : 'customer')
|
||||
item => item.code === (isProvider ? 'line-item/provider-refund' : 'line-item/customer-refund')
|
||||
);
|
||||
|
||||
const refundInfo = refund
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue