Skip to main content

technician_checkboxes_html

Function technician_checkboxes_html 

Source
pub fn technician_checkboxes_html(
    app_root: &Path,
    state_root: &Value,
    business_id: i64,
    service_id: i64,
    empty_message: &str,
    select_all: bool,
) -> Option<String>
Expand description

Renders technician assignment checkbox fragments for one business/service.

§Parameters

§Returns

Returns Some when crate::runtime::json_commands::technician_checkboxes_html can produce a value and None otherwise.

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::json_commands::technician_checkboxes_html.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::technician_checkboxes_html(std::path::Path::new("apps/dev_docs"), todo!(), todo!(), todo!(), todo!(), todo!());