public function index() { // ambil semua data $kas = Kas::with('perkiraan')->get(); // $kas = Kas::orderBy('id','desc')->get(); //$kas = Kas::where('kode_kas', '100-01')->get(); return view('kas.index', compact('kas')); }
/** * Display a listing of the resource. * * @return Response */ public function index() { // $kas = Kas::with('customer')->get(); return View('kas.index')->with('kas', $kas); }