update migrations and create base migration. set discount and tax to sale invoices
This commit is contained in:
+3
-2
@@ -1,5 +1,5 @@
|
||||
import { SharedSaleInvoiceActionsService } from '@/common/services/saleInvoices/sale-invoice-actions.service'
|
||||
import { ResponseMapper } from '@/common/response/response-mapper'
|
||||
import { SharedSaleInvoiceActionsService } from '@/common/services/saleInvoices/sale-invoice-actions.service'
|
||||
import { SalesInvoiceWhereInput } from '@/generated/prisma/models'
|
||||
import { PrismaService } from '@/prisma/prisma.service'
|
||||
import { Injectable, NotFoundException } from '@nestjs/common'
|
||||
@@ -42,7 +42,8 @@ export class SalesInvoicesService {
|
||||
measure_unit_code: true,
|
||||
measure_unit_text: true,
|
||||
sku_code: true,
|
||||
discount: true,
|
||||
discount_amount: true,
|
||||
tax_amount: true,
|
||||
notes: true,
|
||||
quantity: true,
|
||||
total_amount: true,
|
||||
|
||||
@@ -123,8 +123,9 @@ export class CustomerSaleInvoicesService {
|
||||
id: true,
|
||||
notes: true,
|
||||
unit_price: true,
|
||||
discount: true,
|
||||
quantity: true,
|
||||
discount_amount: true,
|
||||
tax_amount: true,
|
||||
total_amount: true,
|
||||
payload: true,
|
||||
good: {
|
||||
|
||||
Reference in New Issue
Block a user