<?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) {}
}