fix: payment sort
This commit is contained in:
parent
d4d0b455cc
commit
341ba66577
1 changed files with 1 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ export class QuotationPayment extends Controller {
|
|||
async getPayment(@Path() quotationId: string) {
|
||||
const record = await prisma.quotation.findFirst({
|
||||
where: { id: quotationId },
|
||||
orderBy: { createdAt: "asc" },
|
||||
include: {
|
||||
quotationPaymentData: true,
|
||||
createdBy: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue