<?php

namespace App\Livewire\Portal;

use App\Models\Quotation;
use Livewire\Component;

class MyQuotations extends Component
{
    public function render()
    {
        $quotations = Quotation::where('user_id', auth()->id())
            ->latest()
            ->get();

        return view('livewire.portal.my-quotations', compact('quotations'))
            ->layout('layouts.portal');
    }
}
