Module Editor
Edit Module
File:
cleaning_overview.mxs
Path:
modules/cleaning_overview.mxs
@cleaning_overview : Cleaning Overview (Maintenance) #construct: tmp all_tasks[] = find_records_by_type(printer_cleaning) all_cleanings = all_tasks #home: << 'Daily Printer Cleaning Overview' >> < construction_button('Record New Cleaning Task', #setup, printer_cleaning, all_cleanings) > << 'Recent Cleaning Tasks' >> tmp sorted_tasks[] = sort(all_cleanings,creation_date,DESCENDING) foreach sorted_tasks#preview << 'Summary by Printer' >> < button('HP Latex 105 History', #hp_history) | button('Roland XF640 History', #roland_history) > #hp_history: << 'HP Latex 105 Cleaning History' >> tmp hp_tasks[] = match(all_cleanings,printer,'HP Latex 105') tmp sorted_hp[] = sort(hp_tasks,creation_date,DESCENDING) foreach sorted_hp#preview < back_button('Return to Overview') > #roland_history: << 'Roland XF640 Cleaning History' >> tmp roland_tasks[] = match(all_cleanings,printer,'Roland XF640') tmp sorted_roland[] = sort(roland_tasks,creation_date,DESCENDING) foreach sorted_roland#preview < back_button('Return to Overview') >
↩
✅
💾