update 7_11_2019

This commit is contained in:
Frank John Begornia
2019-07-11 21:50:00 +08:00
parent c8309e7d3f
commit e60bb3baf8
19 changed files with 294 additions and 230 deletions

View File

@@ -80,6 +80,17 @@ class TeamStoreModel extends Model {
return $i;
}
function getSizesByBracket($bracket){
$i = DB::table('sizes')->select('Size')
->where('Bracket', $bracket)
->where('IsActive', 'TRUE')
->orderby('Ordering', 'ASC')
->get();
return $i;
}
function insertToCart($data){
$i = DB::table('cart_tmp')->insert($data);