activate dign purchase after invoice payment
Build and Deploy Docker Images / build_and_deploy (push) Has been cancelled
Build and Deploy Docker Images / build_and_deploy (push) Has been cancelled
This commit is contained in:
@@ -948,7 +948,9 @@ export class InvoicesService {
|
||||
await this.addNotifyForWalletDeduction(invoice, user, userWallet, WalletMessage.SUPPORT_PLAN_WALLET_TRANSFER);
|
||||
//
|
||||
} else if (invoice.isExternal) {
|
||||
if (invoice.items[0]?.name == 'purchase_new_catalogue') {
|
||||
if (invoice.items[0]?.name == 'purchase_design') {
|
||||
this.dpageService.finishPurchaseDesign(invoice.externalBusinessId!, invoice.id)
|
||||
} else if (invoice.items[0]?.name == 'purchase_new_catalogue') {
|
||||
// call dpage api
|
||||
const businessId = invoice.externalBusinessId
|
||||
if (!businessId) {
|
||||
@@ -1475,7 +1477,7 @@ export class InvoicesService {
|
||||
//*********************************** */
|
||||
|
||||
async findInvoicesByCustomerIds(custmerIds: string[], query: SearchResellerInvoicesQueryDto) {
|
||||
|
||||
|
||||
return this.invoiceRepository.findPaginatedListByUserIds(query, custmerIds)
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user