Inform about inaccurate subscription totals

https://github.com/openfoodfoundation/openfoodnetwork/pull/2346#issuecomment-409822038
This commit is contained in:
Maikel Linke
2018-08-03 14:59:27 +10:00
parent d5fdda1c46
commit b736560d63
4 changed files with 9 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ tbody.panel-ctrl {
> td {
a.update {
cursor: pointer;
margin-top: 10px;
margin-bottom: 10px;
font-size: 1.3rem;
background-color: $warning-red;

View File

@@ -91,3 +91,5 @@
\:
%td.total.align-center
%span#order_form_total {{ subscription.estimatedTotal() | currency }}
%p.notice
= t "this_is_an_estimate", scope: 'admin.subscriptions.subscription_line_items'

View File

@@ -49,3 +49,5 @@
%td.total.align-center
%span#order_form_total {{ subscription.estimatedTotal() | currency }}
%td.actions
%p.notice
= t ".this_is_an_estimate"

View File

@@ -999,6 +999,10 @@ en:
address: 2. Address
products: 3. Add Products
review: 4. Review & Save
subscription_line_items:
this_is_an_estimate: |
The displayed prices are only an estimate and calculated at the time the subscription is changed.
If you change prices or fees, orders will be updated, but the subscription will still display the old values.
details:
details: Details
invalid_error: Oops! Please fill in all of the required fields...