From b5fe9b99a6f6fcb6aa7d7c28b30f226a3658fba7 Mon Sep 17 00:00:00 2001 From: bertjuuhh Date: Fri, 27 Nov 2015 15:30:45 +0100 Subject: [PATCH] Update VatCode.php --- src/Picqer/Financials/Exact/VatCode.php | 40 +++++++++++++++++++++++-- 1 file changed, 37 insertions(+), 3 deletions(-) diff --git a/src/Picqer/Financials/Exact/VatCode.php b/src/Picqer/Financials/Exact/VatCode.php index c75dcead..34c8e3f9 100644 --- a/src/Picqer/Financials/Exact/VatCode.php +++ b/src/Picqer/Financials/Exact/VatCode.php @@ -4,17 +4,51 @@ class VatCode extends Model { use Query\Findable; + use Persistance\Storable; protected $fillable = [ + 'ID', 'Account', + 'AccountCode', + 'AccountName', + 'CalculationBasis', + 'Charged', 'Code', 'Country', - 'ID', + 'Created', + 'Creator', + 'CreatorFullName', 'Description', 'Division', - 'Percentage' + 'EUSalesListing', + 'GLDiscountPurchase', + 'GLDiscountPurchaseCode', + 'GLDiscountPurchaseDescription', + 'GLDiscountSales', + 'GLDiscountSalesCode', + 'GLDiscountSalesDescription', + 'GLToClaim', + 'GLToClaimCode', + 'GLToClaimDescription', + 'GLToPay', + 'GLToPayCode', + 'GLToPayDescription', + 'IntraStat', + 'IsBlocked', + 'LegalText', + 'Modified', + 'Modifier', + 'ModifierFullName', + 'Percentage', + 'TaxReturnType', + 'Type', + 'VatDocType', + 'VatMargin', + 'VATPartialRatio', + 'VATPercentages', + 'VATTransactionType' ]; protected $url = 'vat/VATCodes'; -} \ No newline at end of file +}