update carousel
This commit is contained in:
@@ -277,6 +277,12 @@ class TeamStoreModel extends Model
|
||||
FROM payment_details AS pd
|
||||
INNER JOIN orders AS o ON pd.CartKey = o.CartKey
|
||||
WHERE pd.UserId = $userid AND o.VoucherId = $voucherid");
|
||||
return $i;
|
||||
return $i;
|
||||
}
|
||||
|
||||
function getCarousel()
|
||||
{
|
||||
$i = DB::select("SELECT * FROM teamstores WHERE IsActive = 'true' ORDER BY RAND() LIMIT 10");
|
||||
return $i;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user