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

[Admin Cabinet ] Order total calculation in case of self delivery #3492

Closed
YuliyaTymkiv opened this issue Nov 8, 2021 · 0 comments
Closed

Comments

@YuliyaTymkiv
Copy link
Collaborator

YuliyaTymkiv commented Nov 8, 2021

As an administrator, I want to have UBS service fees displayed, so that the actual order total is calculated correctly.

Assumptions & Constraints
n/a

Preconditions

  1. User is logged in as administrator.
  2. Administrator navigates to the Orders tab.
  3. Administrator has opened an order from current orders table

Business rules

  1. Only administrators with access should be able to view Admin Cabinet
  2. Service fee УБС Кур’єр is calculated only per large packages (120L)

Acceptance Criteria

  1. When the order status is changed to “Виконано” (only if it is set after stage “Привезе сам”), the column “Вивезена к-сть” Actual amount (story 2865) with additional field “УБС кур’єр” and “Списання на станцію сортування” should be displayed (section “Деталі замовлення” )

Self-delivery

  1. Filed “УБС кур’єр”:
  • Float number with 2 digits.
  • Should be greater than 0.
  • Displayed in the format “- XX.XX грн”. E.g. -150.00 грн
  • No upper limit is set.
  • Calculated by formula: Actual quantity of packages “Текстильні відходи” 120L x 50 + actual quantity of packages “Безпечні відходи” 120L x 50 = “УБС кур’єр”
  • Disabled.
  1. Field “Списання на станцію сортування”:
  • Input field, enabled
  • Float number with 2 digits.
  • Should be equal to/greater than 0.
  • Displayed in the format “XX.XX грн”. E.g. 100.00 грн
  • No upper limit is set.
  • 0.00 грн by default
  1. Actual order total Сума до оплати is calculated by the formula:
    Actual order sum “Сума замовлення” - “Сертифікат” - “Використані бонуси” - “УБС Кур’єр” + “Списання на станцію сортування” = Actual order total “Сума до оплати”
    (e.g.: 850.00 - 250.00 - 50.00 - 150.00 + 100.00 = 500.00 грн)

Out of scope

Epic link
E.g.: Epic #2195

Labels to be added
"User story", Correspondind Functionality (e.g. User), Priority ("pri: "), "Corresponding Epic"

Tasks

    • sample task.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

3 participants