Skip to content

Commit

Permalink
Merge pull request #165 from picqer/add-discount-to-salesinvoice
Browse files Browse the repository at this point in the history
Adds discounts to SalesInvoice
  • Loading branch information
stephangroen authored Aug 16, 2017
2 parents 8494bf9 + 9c725fe commit b99b5df
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Picqer/Financials/Exact/SalesInvoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,16 @@
*
* @property Guid $InvoiceID Primary key
* @property Double $AmountDC For the header lines (LineNumber = 0) of an entry this is the SUM(AmountDC) of all lines
* @property Double $AmountDiscount Discount amount in the default currency of the company
* @property Double $AmountDiscountExclVat Discount amount exclude VAT in the default currency of the company
* @property Double $AmountFC For the header this is the sum of all lines, including VAT
* @property Double $AmountFCExclVat For the header this is the sum of all lines, excluding VAT
* @property DateTime $Created Creation date
* @property Guid $Creator User ID of creator
* @property String $CreatorFullName Name of creator
* @property String $Currency Currency for the invoice. Default this is the currency of the administration
* @property String $Description Description. Can be different for header and lines
* @property String $Discount Discount percentage
* @property Int32 $Division Division code
* @property Guid $Document Document that is manually linked to the invoice
* @property Int32 $DocumentNumber Number of the document
Expand Down Expand Up @@ -66,12 +70,16 @@ class SalesInvoice extends Model
protected $fillable = [
'InvoiceID',
'AmountDC',
'AmountDiscount',
'AmountDiscountExclVat',
'AmountFC',
'AmountFCExclVat',
'Created',
'Creator',
'CreatorFullName',
'Currency',
'Description',
'Discount',
'Division',
'Document',
'DocumentNumber',
Expand Down

0 comments on commit b99b5df

Please sign in to comment.