This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Helper_Shift_Regular{ | |
// 該当時間の勤務スタッフ数を求める | |
public static function regular_work_staff_count($regular_shift_day_id ,$shift_type) { | |
if($shift_type == 0){ | |
$result = DB::select('*') | |
->from('regular_user') | |
->where('regular_day_id', $regular_shift_day_id) | |
->where('edited_shift_type', 'in', array(1,2,3)) |
NewerOlder