This commit is contained in:
Codex
2026-07-10 09:14:42 -05:00
parent e27fcc6c19
commit 63820994f8
55 changed files with 2195 additions and 86 deletions
+19
View File
@@ -0,0 +1,19 @@
<x-app-layout>
<x-slot name="header"><h2 class="text-xl font-semibold">Buyer Profile</h2></x-slot>
<div class="mx-auto max-w-5xl p-6">
<form method="POST" action="{{ route('buyers.update') }}" class="space-y-4 rounded border bg-white p-6">
@csrf @method('PUT')
<x-field name="company_name" label="Company name" :value="$profile?->company_name" />
<x-field name="headline" label="Headline" :value="$profile?->headline" />
<x-field name="description" label="Description" :value="$profile?->description" textarea />
<x-field name="service_categories" label="Service categories" :value="$profile?->service_categories" textarea />
<x-field name="hiring_regions" label="Hiring regions" :value="$profile?->hiring_regions" textarea />
<x-field name="vendor_onboarding" label="Vendor onboarding" :value="$profile?->vendor_onboarding" textarea />
<x-field name="payment_terms" label="Payment terms" :value="$profile?->payment_terms" textarea />
<x-field name="website_url" label="Website URL" :value="$profile?->website_url" />
<x-field name="contact_email" label="Contact email" :value="$profile?->contact_email" />
<label class="flex gap-2 text-sm"><input type="checkbox" name="public_contact" value="1" @checked($profile?->public_contact)> Show contact details publicly</label>
<x-primary-button>Save buyer profile</x-primary-button>
</form>
</div>
</x-app-layout>