add currency for teamstore
This commit is contained in:
@@ -66,9 +66,12 @@ class MainModel extends Model {
|
||||
return $i;
|
||||
}
|
||||
|
||||
function cartCount($cartkey){ // count Confirmed attendees
|
||||
function cartCount($cartkey){ //
|
||||
|
||||
$i = DB::table('cart_tmp')->where('CartKey', '=', $cartkey)->sum('Quantity');
|
||||
$i = DB::table('cart_tmp')
|
||||
->whereNull('VoucherId')
|
||||
->where('CartKey', '=', $cartkey)
|
||||
->sum('Quantity');
|
||||
|
||||
return $i;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user