public function edit($id) { $glcoas = Glcoa::orderBy('acct')->get(); $gltrn = Gltrn::whereId($id)->firstOrFail(); return view('accounting.gltrn.edit')->with(['gltrn' => $gltrn, 'glcoas' => $glcoas]); }
public function detail() { $balance = SELF::checkJournal(); $balance = SELF::checkLedger(); $glcoas = Glcoa::orderBy('acct')->paginate(env('PAGINATION_MAX')); return view('accounting.glcoa.detail')->with('glcoas', $glcoas); }