Пример #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 detail()
 {
     $balance = SELF::checkJournal();
     $balance = SELF::checkLedger();
     $glcoas = Glcoa::orderBy('acct')->paginate(env('PAGINATION_MAX'));
     return view('accounting.glcoa.detail')->with('glcoas', $glcoas);
 }