Details des Tickets

Beschreibung,Kommentare und Anhänge

merge request id 327
TitelFeature/ll 760 add monthly price to subscription
BeschreibungLL-760 - Preis an die Subscription neues Feld "price_per_month" an der Subscription und in der DB. Funktion getPricePerMonthAttribute soll das Feld auslesen Funktionsweise der bisherigen Funktion als getTariffPricePerMonthAttribute hinzufügen Refactoring: alle Stellen, die noch selber in die config gucken auf tariff_price_per_month oder subscription->price_per_month umstellen. (Vermutlich sind alle aktuellen Stellen price_per_month, nur im Rahmen der Tarifanzeige wird das anders sein) Sicherstellen, dass professional bei tariff_price_per_month korrekt ist. Migration: alle Kunden mit dem aktuell gültigen Preis befüllen
Statusmerged
Created at 2020-11-26T16:57:28.891Z
Updated at 2020-11-30T07:49:02.805Z
Source branchfeature/LL-760-add-monthly-price-to-subscription
Target branchdevelop
AuthorGregor Gabriel
AssigneeSascha Immig

Discussion notes

added 12 commits
  • 40339661...ab3e4fb8 - 11 commits from branch develop
  • 3c444d15 - Merge branch 'develop' into 'feature/LL-760-add-monthly-price-to-subscription'
Compare with previous version
Sascha Immig 2020-11-27T13:20:58.820Z
merged Sascha Immig 2020-11-30T07:49:02.885Z
mentioned in commit 2b5d5ccf60ef080279a10227697a46af0fe07ca2 Sascha Immig 2020-11-30T07:49:02.993Z

Merge Commits

Title Id Author Created at Message
Merge branch 'develop' into 'feature/LL-760-add-monthly-price-to-subscription' 3c444d1598ff0e27fd712ce156c7992cb8fd2796 Sascha Immig 2020-11-27T13:20:54.000Z Merge branch 'develop' into 'feature/LL-760-add-monthly-price-to-subscription' # Conflicts: # app/Http/Controllers/Admin/ClientController.php
small fixes issued by testing 40339661615e5ae47580fce188768149084acc5c TUV\gabrielg 2020-11-26T16:55:59.000Z small fixes issued by testing
+ added price_per_month to subscriptions table 5c2e285145d4aaffc43103063cd52fcb6efe9660 TUV\gabrielg 2020-11-26T16:05:43.000Z + added price_per_month to subscriptions table + added migration to generate price_per_month + refactored code to use Subscription class to get price not subscription config + auto fill price_per month when subscription is created + auto change price_per_month when client admin updates subscription + optimized code