Ejemplo n.º 1
0
 public function create()
 {
     $accounts = ChartOfAccount::where('account_type', 1)->lists('name', 'code');
     $types = Config::get('common.transaction_customer_type');
     $years = CommonHelper::get_years();
     return view('transactionRecorders.create', compact('accounts', 'types', 'years'));
 }
Ejemplo n.º 2
0
 public function create()
 {
     $accounts = ChartOfAccount::where('account_type', 1)->where('code', 'like', '2%')->orWhere('code', '32000')->lists('name', 'code');
     $types = Config::get('common.transaction_customer_type');
     $years = CommonHelper::get_years();
     return view('makePayment.create', compact('accounts', 'types', 'years'));
 }