Skip to content

days count logic, please help #5

Description

@d88catalin

I've set the count day BY_NOON_TIME with noon time set at 9am, a client selects to rent a car from 8 July 9am and return it on 9 July at 9am, the system will display and charge for 1 day, but if the return is after 09:30 it display and charge for 2 days, correct. There is a bug however, when you select to book 10:00 and return second day at 10:00 it is showed 2 days of rent, but the charge is only for 1 day, incorrect. It has this bug with any case in which the pickup hour is the same with the drop off hour.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions