Skip to content

Commit

Permalink
Merge pull request #50 from koenvu/master
Browse files Browse the repository at this point in the history
Add three fields to fillables for Contact
  • Loading branch information
stephangroen committed Mar 14, 2016
2 parents f38fc6a + d20d3ab commit 17ac66a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Picqer/Financials/Exact/Contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* @package Picqer\Financials\Exact
* @see https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=crmContacts
*
* @property Guid $ID Primary key
* @property Guid $Account The account to which the contact belongs
* @property Boolean $AccountIsCustomer Indicates if account is a customer
* @property Boolean $AccountIsSupplier Indicates if account is a supplier
Expand All @@ -22,6 +23,8 @@
* @property Int32 $Division Division code
* @property String $Email Email address of the contact
* @property Int32 $HID Contact ID
* @property String $JobTitleDescription Jobtitle of the contact
* @property String $Notes Extra remarks
* @property Guid $AccountMainContact Reference to the main contact of the account
* @property Boolean $IsMainContact Indicates if this is the main contact of the linked account
* @property String $Gender Gender
Expand All @@ -34,6 +37,7 @@ class Contact extends Model
use Persistance\Storable;

protected $fillable = [
'ID',
'Account',
'AccountIsCustomer',
'AccountIsSupplier',
Expand All @@ -50,6 +54,8 @@ class Contact extends Model
'Division',
'Email',
'HID',
'JobTitleDescription',
'Notes',
'AccountMainContact',
'IsMainContact',
'Gender',
Expand All @@ -59,4 +65,3 @@ class Contact extends Model
protected $url = 'crm/Contacts';

}

0 comments on commit 17ac66a

Please sign in to comment.