Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master #64

Open
wants to merge 55 commits into
base: v1.7
Choose a base branch
from
Open

Master #64

wants to merge 55 commits into from

Conversation

fawad-ali
Copy link

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.

None yet

4 participants