Skip to content

Commit

Permalink
feat: added new fields on doctype and set company name only once
Browse files Browse the repository at this point in the history
  • Loading branch information
vvsd-dev committed Jun 16, 2023
1 parent ddbb852 commit e7482d0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
18 changes: 17 additions & 1 deletion vsd_fleet_ms/vsd_fleet_ms/doctype/cargo_detail/cargo_detail.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,12 @@
"section_break_mc959",
"manifest_number",
"assigned_truck",
"truck_number",
"created_trip",
"column_break_yp7ah",
"transporter_type",
"assigned_driver",
"driver_name",
"invoice"
],
"fields": [
Expand Down Expand Up @@ -289,12 +291,26 @@
{
"fieldname": "column_break_yp7ah",
"fieldtype": "Column Break"
},
{
"fetch_from": "manifest_number.sub_contactor_truck_license_plate_no",
"fieldname": "truck_number",
"fieldtype": "Data",
"label": "Truck Number",
"read_only": 1
},
{
"fetch_from": "manifest_number.sub_contactor_driver_name",
"fieldname": "driver_name",
"fieldtype": "Data",
"label": "Driver Name",
"read_only": 1
}
],
"index_web_pages_for_search": 1,
"istable": 1,
"links": [],
"modified": "2023-06-15 15:08:43.908029",
"modified": "2023-06-16 12:13:43.575367",
"modified_by": "Administrator",
"module": "VSD Fleet MS",
"name": "Cargo Detail",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
"fieldname": "company",
"fieldtype": "Link",
"label": "Company",
"options": "Company"
"options": "Company",
"set_only_once": 1
},
{
"fieldname": "section_break_fuqjo",
Expand Down Expand Up @@ -95,7 +96,7 @@
"index_web_pages_for_search": 1,
"is_submittable": 1,
"links": [],
"modified": "2023-05-29 16:14:48.232494",
"modified": "2023-06-16 12:30:45.543391",
"modified_by": "Administrator",
"module": "VSD Fleet MS",
"name": "Cargo Registration",
Expand Down

0 comments on commit e7482d0

Please sign in to comment.