Skip to content

Master#64

Open
fawad-ali wants to merge 55 commits intov1.7from
master
Open

Master#64
fawad-ali wants to merge 55 commits intov1.7from
master

Conversation

@fawad-ali
Copy link
Copy Markdown

No description provided.

asaf050 and others added 30 commits June 18, 2015 02:41
Change version for the composer file
- Added Helper class instead of public functions and excess traits
- Removed helpers.php
- Removed useless comments on top of classes
- Added more documentation on some methods
- Created CommonMethodsTrait to apply commonly used methods on each
inventory trait
- Removed DatabaseTransactionTrait in favor of CommonMethodsTrait
- Use `setAttribute()` and `getAttribute()` instead of using dynamic
property
- Remove included models fillable attributes
- Added type hinted Model parameters where applicable
- Instead of calling the relationships create method, a new instance is
created and attributes are set one by one
- Removed unnecessary LocationTrait
- Tweaked `getCurrentUserId()` method
- Updated tests
- locations inserted into `takeFromLocation()` and `putToLocation()`
must now be instances of a laravel Model
- Use `getAttribute()` and `setAttribute()` when applicable
- Compare quantities strictly and save quantities as float type
- Removed supplier tests as laravel already has tests for hasMany
relationships
- Removed unnecessary supplier helper methods
- Removed unused exceptions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants