public function index() { $c = Customer::get(); $bankaccount = Bankaccount::joining(); $voucher = Voucher::orderBy('id', 'desc')->where('type', 5)->take(10)->get(); return view('contravouchar', compact('bankaccount', 'c', 'voucher')); }
public function report() { $s = Supplier::get(); $c = Customer::get(); $bankaccount = Bankaccount::joining(); $voucher = Voucher::orderBy('id', 'desc')->take(10)->get(); return view('ledger', compact('bankaccount', 'c', 's', 'voucher')); }
public function index() { $c = Customer::get(); return view('customers')->with('customers', $c); }
public function addnewcc() { $customers = Customer::get(); $coatype = Coatype::get(); $increasetype = Increasetype::get(); $taxrate = Taxrate::get(); return view('createcustomerscoa', compact('customers', 'coatype', 'increasetype', 'taxrate')); }