Skip to main content

reset_today

Function reset_today 

Source
pub(crate) fn reset_today(state: &AppState, def_id: &str) -> Result<f64, String>
Expand description

Zeroes the agent’s spend for today and takes its stop and warning off. Returns the dollars that were counted.