This commit is contained in:
2022-06-01 21:11:45 -04:00
parent 268e1b6a54
commit 07c3425046
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ public function loadMemberActiveCoupons($member_id,$fliters=[]){
}
public function loadMemberRedeemCoupons($member_id,$fliters=[]){
$sql="SELECT id, ca.code, ca.amount, ca.added::date,ca.status ,ca.active
$sql="SELECT id, ca.code, ca.amount, ca.added::date,ca.status ,ca.active::date
FROM coupons_allocation ca WHERE ca.member_id = $member_id AND ca.active IS NOT NULL ORDER BY ca.id DESC";
$q = $this->db->query($sql);
return $q;
+3 -1
View File
@@ -151,7 +151,9 @@
<?php
}
?>
</tbody>
<!--end::Table body-->
</table>
</div>
<!--end::Table-->
</div>