Создать типовые тарифы для мастера тарифов

Issue #40 closed
Ihor Bielykh created an issue

Необходимо написать, хотя бы 5 типовых тарифов. С примерно реальными ценами и данными. В принципе есть те которые используются для тестов, но все равно.

Comments (11)

  1. Дмитрий Лысенко

    от заказчика получена следующая информация:

    Tipycall Mall tariffs 1.5 USD standard tariff from 6:00 am to 6:00 pm. 1 USD standard tariff from 6:00 pm to 12:00 am. 4 USD standard tariff from 12:00 am to 6:00 pm. 5 USD for lost ticket

    Typicall not Mall tariff: 0.5 USD per hour 0.25 USD per fraction of an hour 4 USD a day 4 USD standard tariff from 6:00 pm to 6:00 am.

  2. Ihor Bielykh reporter

    @Dimonaspirin Дим попроси их плз писать в формате 24. Тут же голову сломать можно, у них 12 am это и полночь и полдень. :) а ещё лучше пусть рисуют вот такими схемамиTariffs.png

  3. Ihor Bielykh reporter

    @Dimonaspirin Если написать этот тариф в формате 24, то выходит чушь. Зона 1: 06:00 - 18:00 Зона 2: 18:00 - 0:00 Зона 2: 0:00 - 18:00

    Первая и третья зона как видишь пересекается.

    На всяк случай ссылка на вики

  4. Дмитрий Лысенко

    расшифровка тарифного плана:

    1) The normal tariff, if someone stays exactly 1 hour is 0.5 USD. If the user stays 2 hours, he pays (2 * 0.5 USD = 1 USD). For 3 hours (3 * 0.5 USD = 1.5 USD) and so on.

    2) The fraction of an hour tariff comes in hand when the user doesn´t stay exact multiples of an hour. For example, if he stays 1 hour and 1 minute (1 * 0.5 USD + 0.25 USD = 0.75 USD), if the user stays 2 hours and 45 minutes (2 * 0.5 USD + 0.25 USD = 1.25 USD).

    2) 1 day tariff: If the client decides to stay 1 day (normally long periods of time, the user tells the parking lot they will stay for a day, thus having a smaller tariff tan if he pays the hourly tariff). He would pay 4 USD, instead of having to pay (24 + 0.5 USD = 12 USD).

    3) Night Tariff: If the client arrived at 7:00 pm, he will be charged 4 USD regardless of the time he spent inside the parking lot (night tariff). Also if the arrived at 5:35 pm and leaves at 8:00 am the next day (5:35 - 6:00 pm = 0.25 USD, 6:00 pm to 6:00 am = 4 USD, from 6:00am to 8:15 pm = 2 * 0.5 USD + 0.25 USD = 1.25 USD... the grand total should be = 0.25 USD + 4 USD + 1.25 USD = 5.50 USD.

  5. Ihor Bielykh reporter

    1.png @olegmsn @Dimonaspirin Как думаете, имеет ли смысл добавить сюда, какие то тарифы, из тех на которых я тестировал?

  6. Oleg Moiseenko

    можно добавить Чето типа

    заезд 5 рублей и

    час 10 сутки 50

  7. Log in to comment