feat: Add backoffice list controller and service for various data lookups and new sales customer, order, and pre-order services. Add parameter customerId para find payment plans

This commit is contained in:
Luis Eduardo Estevao
2026-02-19 10:00:29 -03:00
parent 2095866d97
commit 366d6d1f4d
5 changed files with 86 additions and 82 deletions

View File

@@ -28,7 +28,7 @@ export class ListsController {
* Consulta tabela de checkouts da filial informada
*/
@Get('checkout/:store')
@ApiParam({name: 'Código da filial',})
@ApiParam({ name: 'Código da filial', })
async getCheckout(@Param('store') idStore: string) {
return this.listsServices.GetCheckout(idStore);
}
@@ -44,9 +44,9 @@ export class ListsController {
/**
* Consulta tabela de plano de pagamento para pedido de venda
*/
@Get('paymentplan/:billindid')
async getPaymentPlan(@Param('billindid') billingId: string) {
return this.listsServices.GetPaymentPlan(billingId);
@Get('paymentplan/:billindid/:customerId')
async getPaymentPlan(@Param('billindid') billingId: string, @Param('customerId') customerId: string) {
return this.listsServices.GetPaymentPlan(billingId, customerId);
}
/**