Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $Result = $query->select(['LT.Title','L.Balance', 'L.Earned'])->where(['L.EmployeeID'=>Yii::$app->user->id])->from('leave L')->leftJoin('listitems LT','LT.ListItemID = L.LeaveTypeID')->all();
- [1] => Array
- (
- [Title] => casual
- [Balance] => 12
- [Earned] => 12
- )
Add Comment
Please, Sign In to add comment