#7134 SupplierBalance #3173
|
@ -3,7 +3,7 @@ const ParameterizedSQL = require('loopback-connector').ParameterizedSQL;
|
||||||
const {buildFilter, mergeFilters} = require('vn-loopback/util/filter');
|
const {buildFilter, mergeFilters} = require('vn-loopback/util/filter');
|
||||||
module.exports = Self => {
|
module.exports = Self => {
|
||||||
Self.remoteMethodCtx('receipts', {
|
Self.remoteMethodCtx('receipts', {
|
||||||
description: 'Find all clients matched by the filter',
|
description: 'Find all suppliers matched by the filter',
|
||||||
accessType: 'READ',
|
accessType: 'READ',
|
||||||
accepts: [
|
accepts: [
|
||||||
{
|
{
|
||||||
|
@ -36,7 +36,7 @@ module.exports = Self => {
|
||||||
{
|
{
|
||||||
arg: 'orderBy',
|
arg: 'orderBy',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
description: 'The client fiscal id',
|
description: 'The supplier fiscal id',
|
||||||
enum: ['issued', ' bookEntried', ' booked', ' dueDate'],
|
enum: ['issued', ' bookEntried', ' booked', ' dueDate'],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue