feat(dashboard,types): add credit lines + loyalty changes (#11885)
* feat(dashboard,types): add credit lines + loyalty changes * chore: fix types * chore: fix specs * chore: use correct plugin name * chore: use new currency input --------- Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
co-authored by
Oli Juhl
parent
65f9333501
commit
44d1d18689
@@ -3783,6 +3783,78 @@
|
||||
"orders": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"giftCardsStoreCreditLines": {
|
||||
"type": "string"
|
||||
},
|
||||
"creditLines": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"total": {
|
||||
"type": "string"
|
||||
},
|
||||
"creditOrDebit": {
|
||||
"type": "string"
|
||||
},
|
||||
"createCreditLine": {
|
||||
"type": "string"
|
||||
},
|
||||
"createCreditLineSuccess": {
|
||||
"type": "string"
|
||||
},
|
||||
"createCreditLineError": {
|
||||
"type": "string"
|
||||
},
|
||||
"createCreditLineDescription": {
|
||||
"type": "string"
|
||||
},
|
||||
"operation": {
|
||||
"type": "string"
|
||||
},
|
||||
"credit": {
|
||||
"type": "string"
|
||||
},
|
||||
"debit": {
|
||||
"type": "string"
|
||||
},
|
||||
"debitDescription": {
|
||||
"type": "string"
|
||||
},
|
||||
"creditDescription": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"balanceSettlement": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"settlementType": {
|
||||
"type": "string"
|
||||
},
|
||||
"settlementTypes": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"paymentMethod": {
|
||||
"type": "string"
|
||||
},
|
||||
"paymentMethodDescription": {
|
||||
"type": "string"
|
||||
},
|
||||
"creditLine": {
|
||||
"type": "string"
|
||||
},
|
||||
"creditLineDescription": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"domain": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -3954,6 +4026,9 @@
|
||||
"totalPaidByCustomer": {
|
||||
"type": "string"
|
||||
},
|
||||
"totalStoreCreditRefunds": {
|
||||
"type": "string"
|
||||
},
|
||||
"capture": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -4055,6 +4130,7 @@
|
||||
"title",
|
||||
"isReadyToBeCaptured",
|
||||
"totalPaidByCustomer",
|
||||
"totalStoreCreditRefunds",
|
||||
"capture",
|
||||
"capture_short",
|
||||
"refund",
|
||||
@@ -10601,6 +10677,12 @@
|
||||
"amount": {
|
||||
"type": "string"
|
||||
},
|
||||
"reference": {
|
||||
"type": "string"
|
||||
},
|
||||
"reference_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"refundAmount": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -10859,6 +10941,9 @@
|
||||
"paidTotal": {
|
||||
"type": "string"
|
||||
},
|
||||
"creditTotal": {
|
||||
"type": "string"
|
||||
},
|
||||
"totalExclTax": {
|
||||
"type": "string"
|
||||
},
|
||||
|
||||
@@ -1010,6 +1010,31 @@
|
||||
}
|
||||
},
|
||||
"orders": {
|
||||
"giftCardsStoreCreditLines": "Gift cards & credit lines",
|
||||
"creditLines": {
|
||||
"title": "Credit lines",
|
||||
"total": "Sum of all credit lines",
|
||||
"creditOrDebit": "Credit / Debit",
|
||||
"createCreditLine": "Create credit line",
|
||||
"createCreditLineSuccess": "Credit line created successfully",
|
||||
"createCreditLineError": "Error creating credit line",
|
||||
"createCreditLineDescription": "Create a credit line for amount {{amount}}",
|
||||
"operation": "Operation",
|
||||
"credit": "Credit",
|
||||
"creditDescription": "Adds a positive sum to the order",
|
||||
"debit": "Debit",
|
||||
"debitDescription": "Subtracts a negative sum from the order"
|
||||
},
|
||||
"balanceSettlement": {
|
||||
"title": "Balance settlement",
|
||||
"settlementType": "Settlement type",
|
||||
"settlementTypes": {
|
||||
"paymentMethod": "Payment method",
|
||||
"paymentMethodDescription": "Refund amount to the payment method",
|
||||
"creditLine": "Store credit",
|
||||
"creditLineDescription": "Refund amount as store credit"
|
||||
}
|
||||
},
|
||||
"domain": "Orders",
|
||||
"claim": "Claim",
|
||||
"exchange": "Exchange",
|
||||
@@ -1056,6 +1081,7 @@
|
||||
"title": "Payments",
|
||||
"isReadyToBeCaptured": "Payment <0/> is ready to be captured.",
|
||||
"totalPaidByCustomer": "Total paid by customer",
|
||||
"totalStoreCreditRefunds": "Total store credit refunds",
|
||||
"capture": "Capture payment",
|
||||
"capture_short": "Capture",
|
||||
"refund": "Refund",
|
||||
@@ -2847,6 +2873,8 @@
|
||||
},
|
||||
"fields": {
|
||||
"amount": "Amount",
|
||||
"reference": "Reference",
|
||||
"reference_id": "Reference ID",
|
||||
"refundAmount": "Refund amount",
|
||||
"name": "Name",
|
||||
"default": "Default",
|
||||
@@ -2932,7 +2960,8 @@
|
||||
"orders": "Orders",
|
||||
"account": "Account",
|
||||
"total": "Order Total",
|
||||
"paidTotal": "Total captured",
|
||||
"paidTotal": "Paid Total",
|
||||
"creditTotal": "Credit Lines Total",
|
||||
"totalExclTax": "Total excl. tax",
|
||||
"subtotal": "Subtotal",
|
||||
"shipping": "Shipping",
|
||||
|
||||
Reference in New Issue
Block a user