feat: show bill discount and total

:%s
This commit is contained in:
lytrankieio123
2021-10-19 19:32:42 +07:00
parent 693935a480
commit 3abada4777
9 changed files with 61 additions and 29 deletions

View File

@@ -3053,7 +3053,9 @@ export type CartFragment = { __typename?: 'Order' } & Pick<
| 'currencyCode'
> & {
shippingAddress?: Maybe<{ __typename?: 'OrderAddress' } & Pick<OrderAddress, 'streetLine1' | 'fullName' | 'city' | 'province' | 'postalCode' |'countryCode' | 'phoneNumber'>>
discounts?: Maybe<{ __typename?: 'Discount' } & Pick<Discount, 'type' | 'amount' | 'amountWithTax'>>
discounts: Array<
{ __typename?: 'Discount' } & Pick<Discount, 'type' | 'description' | 'amount' | 'amountWithTax'>
>
customer?: Maybe<{ __typename?: 'Customer' } & Pick<Customer, 'id' | 'firstName' | 'lastName' | 'emailAddress'>>
lines: Array<
{ __typename?: 'OrderLine' } & Pick<