'That invoice no longer exists.'])); } $client_id = intval($doc['client_id']); enforceClientAccess(); $doc_number = billingNumber($doc_type, $doc); ob_start(); ?>
For a invoice that went out some other way than ITFlow's email. It stops being a draft - it counts as owed from now, and the client can open and pay it from its link.