public static function getThoiGianHenTra($id) { $idThoiGianHenTra = ChiTietPhieuMuonSach::select('thoi_gian_hen_tra')->where('id', $id)->get(); return $idThoiGianHenTra[0]->thoi_gian_hen_tra; }
public function editdetail() { $id = Input::get('txtIdPhieuMuon'); $PhieuMuon = ChiTietPhieuMuonSach::select('*')->where('chi_tiet_phieu_muon_sach.id', $id)->paginate(QUAN_LY_SO_PHIEU_MUON_TREN_TRANG); return View::make('thuthu_quanlymuontra.editdetail')->with('title', 'Sửa thông tin chi tiết phiếu mượn')->with('PhieuMuon', $PhieuMuon); }