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.
topnotch_website/app/Http/Controllers/ShippingEntryController.php

43 lines
702 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)
{
}
}