Releases: LasseRafn/laravel-economic
Releases · LasseRafn/laravel-economic
🎉 Optimized filter operators
AND / OR operators
You can now use AND / OR operators simply by doing so:
$economic->customers()->get([
['customerNumber', '=', 1234],
'and',
['email', '!=', 'test@gmail.com'],
'or',
['customerNumber', '=', 4444],
]);
NULL operators
You can check if a value is NULL by doing so:
$economic->customers()->get([
['customerNumber', '=', null],
]);
Which will, behind the scenes, transform your null into a $null:
operator.
IN operator
The 'in' operator has not been working properly. Now it does. Use it as this:
$economic->customers()->get([
['customerNumber', 'in', [1,2,3,4,5]],
]);
Draft orders
Merge pull request #22 from kg-bot/master REST draft orders
2.2.8: Merge pull request #20 from kg-bot/kgbot
2.2.7: Merge pull request #19 from kg-bot/kgbot
2.2.6: Merge pull request #18 from LasseRafn/analysis-8PNeY9
Apply fixes from StyleCI
2.2.5: Merge pull request #16 from LasseRafn/analysis-87Ejn3
Apply fixes from StyleCI
2.2.4: Merge pull request #14 from LasseRafn/analysis-qJRVrQ
Apply fixes from StyleCI
Fix $puttable for PaymentTerms
2.2.3 Changed puttable for paymentTerms to not include a lot of null values
New method added (updateRaw)
2.2.2 Added method to do a raw update call, to avoid merging data.
[BC] Fix major bug in updating entries
2.2.1 Fix bug