Skip to content

Commit

Permalink
write zero value invoice
Browse files Browse the repository at this point in the history
  • Loading branch information
mbayopanda committed Feb 5, 2024
1 parent cd4e79e commit dc48037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/models/procedures.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1245,7 +1245,7 @@ BEGIN
CLOSE curse;

-- if there is remainder cost, bill the debtor the full amount
IF icost > 0 THEN
IF icost >= 0 THEN
INSERT INTO posting_journal (
uuid, project_id, fiscal_year_id, period_id, trans_id, trans_id_reference_number, trans_date,
record_uuid, description, account_id, debit, credit, debit_equiv,
Expand Down

0 comments on commit dc48037

Please sign in to comment.