feat: Adding product and cost to the public-load data
This commit is contained in:
@@ -36,7 +36,8 @@ const populate_list = [
|
|||||||
{path:'carrier',select: carrier_projection },
|
{path:'carrier',select: carrier_projection },
|
||||||
{path:'driver',select: user_projection },
|
{path:'driver',select: user_projection },
|
||||||
'posted_by_name',
|
'posted_by_name',
|
||||||
'categories'
|
'categories',
|
||||||
|
'product',
|
||||||
];
|
];
|
||||||
|
|
||||||
const getById = async(req, res) => {
|
const getById = async(req, res) => {
|
||||||
@@ -52,7 +53,7 @@ const getById = async(req, res) => {
|
|||||||
"status",
|
"status",
|
||||||
"load_status",
|
"load_status",
|
||||||
"weight",
|
"weight",
|
||||||
"product",
|
"estimated_cost",
|
||||||
"est_loading_date",
|
"est_loading_date",
|
||||||
"est_unloading_date",
|
"est_unloading_date",
|
||||||
"origin.company_name",
|
"origin.company_name",
|
||||||
|
|||||||
Reference in New Issue
Block a user