feat: Adding product and cost to the public-load data

This commit is contained in:
Josepablo C.
2026-01-07 17:43:39 -06:00
parent 14eb3820c2
commit 7d5b65df93

View File

@@ -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",