Alex Savenko
/
semena
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code ยป
Commit
71a7bbeeb7ec5c7d0d5aedc6f6ecfdb40482fb6b
Authored by
Alex Savenko
2016-12-21 12:28:30 +0200
2 parents
deec5a27
1ebf6408
Merge branch 'discount' of gitlab.artweb.com.ua:Alex/semena
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
src/lib/models/discount.php
Inline
Side-by-side
src/lib/models/discount.php
Wrap text
Show/Hide comments
View file @
71a7bbe
...
...
@@ -89,6 +89,8 @@ class discount extends \db
89
89
SELECT *
90
90
FROM public.discount
91
91
WHERE
92
+ status = 1
93
+ AND
92
94
current_timestamp > start_date
93
95
AND
94
96
current_timestamp < end_date
...
...