Hi,
i need help on the day's comparison between 2 different dates which will be starting from middle of months in the flow.
Scenario: need the charge i have to give between 2 dates
charges Are:
1)Jan to March -300
2) April to July -200
If my invoice comes between 2 charges, that is date > 15(means after 15 days of month) i need to charge from second consequent charge amount.
example 1: If the invoice is generated from March 16 - June 17 Then the amount charged is 600(3* 200)
example 2: If the invoice is generated from March 15(or <) - June 17 Then the amount charged is 700(2* 200) +(1*300)
APPRICIATE YOUR HELP....