Пример #1
0
 public function edit($id)
 {
     $glcoas = Glcoa::orderBy('acct')->get();
     $gltrn = Gltrn::whereId($id)->firstOrFail();
     return view('accounting.gltrn.edit')->with(['gltrn' => $gltrn, 'glcoas' => $glcoas]);
 }
Пример #2
0
 public function glcoaPdf()
 {
     $users = Glcoa::all();
     $view = view('reports.glcoas')->with('glcoas', $users);
     $contents = $view->render();
     SELF::html2pdf($contents);
 }