frappe.pages["load-detail"].on_page_load = function(wrapper) { var page = frappe.ui.make_app_page({ parent: wrapper, title: "Load Detail", single_column: true }); var loadName = frappe.utils.get_url_arg("load"); if (!loadName) { $(page.body).html("
Use ?load=MMDDYYYY-XXXX
| Material Type | Count | Rcv Status | Send To | "; h += "Recv'd | HDD Out | Dis Send To | "; h += "Sanitized | Test Status | Test Send | "; h += "R2 Sent | Phys | HDD Need | HDD Phys | HDD Logic | "; h += "
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| " + (item.material_type || "") + " | "; h += "" + (item.total_count || 0) + " | "; h += "" + (item.initial_data_status || "") + " | "; h += "" + (item.send_to || "") + " | "; h += "" + (item.devices_received || 0) + " | "; h += "" + (item.hdd_removed || 0) + " | "; h += "" + (item.disassembly_send_to || "") + " | "; h += "" + (item.units_sanitized_software || 0) + " | "; h += "" + (item.test_data_status || "") + " | "; h += "" + (item.test_send_to || "") + " | "; h += "" + (item.r2_units_sent || 0) + " | "; h += "" + (item.units_physical_destruction || 0) + " | "; h += "" + (item.hdd_needs_sanitize || 0) + " | "; h += "" + (item.hdd_physical_destruction || 0) + " | "; h += "" + (item.hdd_logical_sanitization || 0) + " | "; h += "