Educational Technology Center Equipment Tracking and Enhanced Report Authoring. This desperately needs some refactoring love, as it was my first real-deal Django project (and it was done *somewhat* willy-nilly).
Script should query the database for all checkout orders with an out_date less than the current date and a return_date that's greater than the current date (thus, today is within the ticket's time range)
Each equipment that's related to each checkout (in the equipment_list field) should have its status set to checkedout
Each equipment item on a checkout with an return_date that's less than the current date should have its status set to checkout
checkout
orders with anout_date
less than the current date and areturn_date
that's greater than the current date (thus, today is within the ticket's time range)checkout
(in theequipment_list
field) should have itsstatus
set tocheckedout
checkout
with anreturn_date
that's less than the current date should have itsstatus
set tocheckout