pub fn invoice_set_status(
conn: &Connection,
number: &str,
status: &str,
) -> Result<()>Expand description
Update status and, on first transition into issued / paid, stamp the
corresponding timestamp column. Idempotent — re-marking doesn’t overwrite
the original timestamp.