add shipping rules
This commit is contained in:
@@ -2,11 +2,10 @@
|
||||
|
||||
namespace App\Http\Controllers\Admin\Shop;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use App\Http\Controllers\Controller;
|
||||
|
||||
use App\Repositories\Shop\SaleChannels;
|
||||
use App\Datatables\Shop\SaleChannelsDataTable;
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Repositories\Shop\SaleChannels;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class SaleChannelController extends Controller
|
||||
{
|
||||
@@ -23,18 +22,21 @@ class SaleChannelController extends Controller
|
||||
public function store(Request $request)
|
||||
{
|
||||
$ret = SaleChannels::store($request->all());
|
||||
|
||||
return redirect()->route('Admin.Shop.SaleChannels.index');
|
||||
}
|
||||
|
||||
public function show($id)
|
||||
{
|
||||
$data['sale_channel'] = SaleChannels::get($id);
|
||||
|
||||
return view('Admin.Shop.SaleChannels.view', $data);
|
||||
}
|
||||
|
||||
public function edit($id)
|
||||
{
|
||||
$data['sale_channel'] = SaleChannels::get($id);
|
||||
|
||||
return view('Admin.Shop.SaleChannels.edit', $data);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user