<?php

namespace App\Filament\Office\Resources\BillofladingResource\Pages;

use Filament\Actions;
use Filament\Resources\Pages\CreateRecord;
use App\Filament\Office\Resources\BillofladingResource;

class CreateBilloflading extends CreateRecord
{
    protected static string $resource = BillofladingResource::class;

    protected function mutateFormDataBeforeCreate(array $data): array
    {
        $data['entry_by'] = auth()->id();
        // dd($data);

        return $data;
    }
}
