Beispiel #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]);
 }
Beispiel #2
0
 public function glcoaPdf()
 {
     $users = Glcoa::all();
     $view = view('reports.glcoas')->with('glcoas', $users);
     $contents = $view->render();
     SELF::html2pdf($contents);
 }