Skip to main content

close

Function close 

Source
pub(crate) fn close(
    sioul: Pin<&mut Sioul>,
    kind: &str,
    date: &str,
    felt: &str,
    mix: &str,
    memo: &str,
) -> QString
Expand description

The review kept for date, the day its sheet was opened for (view), though the day turned meanwhile (a sheet opened at 04:58 and closed at 05:01 closes the day it showed; none given, the day of kind now); then for the work day the day closed as “Done for today” always did, unless it was already today, or the sheet was an earlier day’s: the closing screen’s JSON, else “”. The night: the status line says the day is closed. A review that cannot be kept is said; the work day closes all the same.