$savings = new Andriynto\Ebri\Controllers\Savings(); return $savings->index(); })); Route::get('savings/products', array('before' => array(), function () { $savings = new Andriynto\Ebri\Controllers\Savings(); return $savings->products(); })); Route::post('savings/products', array('before' => array(), function () { $savings = new Andriynto\Ebri\Controllers\Savings(); return $savings->products(); })); Route::get('savings/branch', array('before' => array(), function () { $savings = new Andriynto\Ebri\Controllers\Savings(); return $savings->branch(); })); Route::post('savings/branch', array('before' => array(), function () { $savings = new Andriynto\Ebri\Controllers\Savings(); return $savings->branch(); })); Route::get('savings/branchoffice', array('before' => array(), function () { $savings = new Andriynto\Ebri\Controllers\Savings(); return $savings->branchOffice(); })); Route::post('savings/branchoffice', array('before' => array(), function () { $savings = new Andriynto\Ebri\Controllers\Savings(); return $savings->branchOffice(); })); Route::get('savings/export', array('before' => array(), function () { $savings = new Andriynto\Ebri\Controllers\Savings(); return $savings->export(); }));
Route::post('savings/retail/branch', array('before' => array(), function () { $savings = new Andriynto\Ebri\Controllers\Savings(); return $savings->branch(); })); Route::get('savings/retail/branchOffice', array('before' => array(), function () { $savings = new Andriynto\Ebri\Controllers\Savings(); return $savings->branchOffices(); })); Route::post('savings/retail/branchOffice', array('before' => array(), function () { $savings = new Andriynto\Ebri\Controllers\Savings(); return $savings->branchOffices(); })); Route::get('savings/retail/branchOffice/{product}/{branch}', array('before' => array(), function ($product, $branch) { $savings = new Andriynto\Ebri\Controllers\Savings(); return $savings->branchOffice($product, $branch); }))->where('product', '\\d+')->where('branch', '\\d+'); //------------------------END SIMPANAN RITEL---------------------------- /** * Show the Mikro Overview. */ Route::get('savings/mikro', array('before' => array(), function () { $savings = new Andriynto\Ebri\Controllers\Savings(); return $savings->index(); })); /** * Show the Mikro Per Products. */ Route::get('savings/mikro/products', array('before' => array(), function () { $savings = new Andriynto\Ebri\Controllers\Savings(); return $savings->products(); }));