You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
647 B
PHP
30 lines
647 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use App\Http\Requests\ShippingEntryRequest;
|
|
use App\Models\ShippingEntry;
|
|
use Illuminate\Http\Request;
|
|
|
|
class ShippingEntryController extends Controller
|
|
{
|
|
public function index() {}
|
|
|
|
public function create() {}
|
|
|
|
public function store(ShippingEntryRequest $request)
|
|
{
|
|
$entry = ShippingEntry::create($request->validated());
|
|
|
|
return redirect()->route('customers.show', [$entry->customer, 'tab' => 'shipping']);
|
|
}
|
|
|
|
public function show($id) {}
|
|
|
|
public function edit($id) {}
|
|
|
|
public function update(Request $request, $id) {}
|
|
|
|
public function destroy($id) {}
|
|
}
|