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:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user