Closed (duplicate)
Project:
UC Discounts
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
21 Oct 2008 at 15:32 UTC
Updated:
2 Nov 2008 at 13:58 UTC
Not all discounts are time-based.
Eg, particular role gets a 10% discount on the site.
Should we add a "Permanent" checkbox?
For the time being, an acceptable workaround is to set expiry to 2050 ... :)
Comments
Comment #1
psynaptic commentedApparently, dates can be a pain in PHP. One other issue in this queue is about setting a date past 18th January 2038. The data widget seems to provide the date widget so this should likely be posted against FAPI if anything.
Time doesn't seem like it should by default apply to most discounts. It is more of a condition. I think we should try to abstract the date stuff into a separate condition module.
Comment #2
joachim commentedAgreed. Updating title.
Comment #3
psynaptic commentedAccidentally created a duplicate issue for this but since it describes this cleanly I'm going to mark this as duplicate to #329109.