Wizard Currencies and Taxes edit page start

This commit is contained in:
cuneytsenturk
2018-10-24 12:24:20 +03:00
parent 6039fcb5f1
commit 2ebe1e34c3
8 changed files with 117 additions and 219 deletions

View File

@ -17,9 +17,13 @@ class Taxes extends Controller
*/
public function edit()
{
$tax = [];
if (setting(setting('general.wizard', false))) {
return redirect('/');
}
return view('wizard.taxes.edit', compact('tax'));
$taxes = Tax::all();
return view('wizard.taxes.edit', compact('taxes'));
}
/**