Skip to content
This repository has been archived by the owner on Apr 9, 2021. It is now read-only.

Commit

Permalink
discount percentage for specific customer is implemented
Browse files Browse the repository at this point in the history
- administration of customer now contains discount field with range validation that is reflected into User entity
- prices of products are recalculated for logged customers based on custom discount
- discount works also for companies with multiple users
- CurrentCustomer is also extended to discount needs
  • Loading branch information
Boris Brtáň committed Jan 9, 2019
1 parent 78d974a commit 020a3fd
Show file tree
Hide file tree
Showing 17 changed files with 1,290 additions and 913 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- added new shipping method Zasilkovna
- pick up places are downloaded by cron
- [#15 - Company account with multiple users](https://github.com/shopsys/demoshop/pull/15)
- [#31 - discount for customer](https://github.com/shopsys/demoshop/pull/31)
- administration of customer now contains discount field with range validation that is reflected into User entity
- prices of products are recalculated for logged customers based on custom discount
- discount works also for companies with multiple users

### Changed
- [#1 - Basic changes in docs, readme etc. after copying from project-base](https://github.com/shopsys/demoshop/pull/1) : [@LukasHeinz]
Expand Down
298 changes: 152 additions & 146 deletions composer.lock

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions migrations-lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -301,3 +301,6 @@
20181114145250:
class: Shopsys\FrameworkBundle\Migrations\Version20181114145250
skip: false
20190108205209:
class: Shopsys\ShopBundle\Migrations\Version20190108205209
skip: false
Loading

0 comments on commit 020a3fd

Please sign in to comment.