Skip to content

Commit

Permalink
add Invoice type ENUMS
Browse files Browse the repository at this point in the history
  • Loading branch information
SidneyAllen committed Aug 26, 2019
1 parent 71c910e commit 61219b0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/Models/Accounting/Invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,8 @@ public function getModelName()

const TYPE_ACCREC = 'ACCREC';
const TYPE_ACCPAY = 'ACCPAY';
const TYPE_ACCPAYCREDIT = 'ACCPAYCREDIT';
const TYPE_AROVERPAYMENT = 'AROVERPAYMENT';
const STATUS_DRAFT = 'DRAFT';
const STATUS_SUBMITTED = 'SUBMITTED';
const STATUS_DELETED = 'DELETED';
Expand All @@ -354,6 +356,8 @@ public function getTypeAllowableValues()
return [
self::TYPE_ACCREC,
self::TYPE_ACCPAY,
self::TYPE_ACCPAYCREDIT,
self::TYPE_AROVERPAYMENT,
];
}

Expand Down

0 comments on commit 61219b0

Please sign in to comment.