* htdocs/document/update.php: allow total_amount to be 0