update: add review count and also verification from admin panel
This commit is contained in:
@@ -137,7 +137,14 @@ export class NotificationsService {
|
||||
queryRunner,
|
||||
);
|
||||
if (isActive) {
|
||||
await this.smsService.sendInvoiceCreationSms(data.userPhone, data.invoiceId, data.price, data.items, dateFormat(data.dueDate));
|
||||
await this.smsService.sendInvoiceCreationSms(
|
||||
data.userPhone,
|
||||
data.invoiceId,
|
||||
data.price,
|
||||
data.items,
|
||||
dateFormat(data.createDate),
|
||||
dateFormat(data.dueDate),
|
||||
);
|
||||
//send email too
|
||||
}
|
||||
return this.createNotification({ title: NotificationMessage.INVOICE_CREATION, message, recipientId }, queryRunner);
|
||||
|
||||
Reference in New Issue
Block a user