kusowl a248d3fc79 feat(deal update and delete): broker can update and delete their deals
- show external links in listings
- refactor image-input.blade.php to display image while update
- refactor image-input.js to show selected image after user clicks submit
- refactor components to accept default value
- add FileService to handle image update and delete
2026-01-13 15:10:55 +05:30

20 lines
578 B
PHP

<x-layout title="Broker Dashboard">
<section class="flex flex-col space-y-8 bg-[#F9FAFB]">
<x-dashboard.navbar/>
<div class="wrapper">
@session('success')
<x-ui.alert-success>{{$value}}</x-ui.alert-success>
@endsession
@session('error')
<x-ui.alert-error>{{$value}}</x-ui.alert-error>
@endsession
</div>
<x-dashboard.stats :list_count="$deals->count()"/>
<x-dashboard.listing :deals="$deals"/>
</section>
@vite('resources/js/nav-menu.js')
</x-layout>