update option function
This commit is contained in:
@ -83,7 +83,7 @@ export class ItemMasterController {
|
||||
"unit.large_unit",
|
||||
"unit.small_unit",
|
||||
"item_master.pack_size",
|
||||
]);
|
||||
]).orderBy("item_master.item_name", "ASC");
|
||||
|
||||
const total_count_data = await query.getCount();
|
||||
const list_data = await query.getMany();
|
||||
|
||||
@ -79,7 +79,7 @@ export class ItemOriginController {
|
||||
query.select([
|
||||
"item_origin.id",
|
||||
"item_origin.origin_name",
|
||||
]);
|
||||
]).orderBy("item_origin.origin_name", "ASC");
|
||||
|
||||
const total_count_data = await query.getCount();
|
||||
const list_data = await query.getMany();
|
||||
|
||||
@ -79,7 +79,7 @@ export class SupplierController {
|
||||
query.select([
|
||||
"supplier.id",
|
||||
"supplier.supplier_name",
|
||||
]);
|
||||
]).orderBy("supplier.supplier_name", "ASC");
|
||||
|
||||
const total_count_data = await query.getCount();
|
||||
const list_data = await query.getMany();
|
||||
|
||||
Reference in New Issue
Block a user