--- a/modules/org.openbravo.retail.posterminal/web/org.openbravo.retail.posterminal/js/model/executor.js
+++ b/modules/org.openbravo.retail.posterminal/web/org.openbravo.retail.posterminal/js/model/executor.js
@@ -193,6 +193,8 @@
   },
 
   createActions: function (evt) {
+    var date = new Date(evt.get('receipt').get('orderDate'));
+	var created = date.getUTCHours()+':'+date.getUTCMinutes()+':'+date.getUTCSeconds();
     var line = evt.get('line'),
         receipt = evt.get('receipt'),
         bpId = receipt.get('bp').id,
@@ -201,6 +203,8 @@
         me = this,
         criteria, t0 = new Date().getTime(),
         whereClause = OB.Model.Discounts.computeStandardFilter(receipt) // 
+		 + " AND (coalesce(start_time, '00:00:00' )<= coalesce('"+created+"','00:00:00' ) ) " //
+		 + " AND (coalesce('"+created+"','00:00:00') <= coalesce(finishes_time,'23:59:59.00' ) ) " //
          + " AND M_OFFER_TYPE_ID NOT IN (" + OB.Model.Discounts.getManualPromotions() + ")" //
          + " AND ((EM_OBDISC_ROLE_SELECTION = 'Y' AND NOT EXISTS (SELECT 1 FROM OBDISC_OFFER_ROLE WHERE M_OFFER_ID = M_OFFER.M_OFFER_ID " + " AND AD_ROLE_ID = '" + OB.MobileApp.model.get('context').role.id + "')) OR (EM_OBDISC_ROLE_SELECTION = 'N' " //
          + " AND EXISTS (SELECT 1 FROM OBDISC_OFFER_ROLE WHERE M_OFFER_ID = M_OFFER.M_OFFER_ID " //
@@ -235,6 +239,7 @@
     });
   },
 
+
   applyRule: function (disc, evt, promCandidates) {
     var receipt = evt.get('receipt'),
         line = evt.get('line'),

