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.
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
|
|
|
|
use App\Http\Requests\ShippingEntryRequest;
|
|
|
|
use App\Models\ShippingEntry;
|
|
|
|
use Illuminate\Http\RedirectResponse;
|
|
|
|
use Illuminate\Http\Request;
|
|
|
|
|
|
|
|
class ShippingEntryController extends Controller
|
|
|
|
{
|
|
|
|
public function index(): void {}
|
|
|
|
|
|
|
|
public function create(): void {}
|
|
|
|
|
|
|
|
public function store(ShippingEntryRequest $request): RedirectResponse
|
|
|
|
{
|
|
|
|
$entry = ShippingEntry::create($request->validated());
|
|
|
|
|
|
|
|
return redirect()->route('customers.show', [$entry->customer, 'tab' => 'shipping']);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function show(int $id): void {}
|
|
|
|
|
|
|
|
public function edit(int $id): void {}
|
|
|
|
|
|
|
|
public function update(Request $request, int $id): void {}
|
|
|
|
|
|
|
|
public function destroy(int $id): void {}
|
|
|
|
}
|