loan history

This commit is contained in:
2024-10-18 20:20:57 +05:00
parent 173b3d1f59
commit 8416e28a5a

View File

@@ -2,17 +2,26 @@
@endphp
<style>
.loan-history-container {
display: grid;
grid-template-columns: 15% 1fr;
}
</style>
<div class="loan-history-container">
<button
type="button"
class="border text-left appearance-none cursor-pointer rounded text-sm font-bold focus:outline-none focus:ring ring-primary-200 dark:ring-gray-600 relative disabled:cursor-not-allowed inline-flex items-center justify-center shadow h-9 px-3 bg-primary-500 border-primary-500 hover:[&amp;:not(:disabled)]:bg-primary-400 hover:[&amp;:not(:disabled)]:border-primary-400 text-white dark:text-gray-900"
onclick="fetchLoanHistory(
'loan-history-item-container',
'{{ $resource->passport_serie }}',
'{{ $resource->passport_id }}',
)">
<span class="flex items-center gap-1">Karz taryhyny ýükle</span>
</button>
<div>
<button
type="button"
class="border text-left appearance-none cursor-pointer rounded text-sm font-bold focus:outline-none focus:ring ring-primary-200 dark:ring-gray-600 relative disabled:cursor-not-allowed inline-flex items-center justify-center shadow h-9 px-3 bg-primary-500 border-primary-500 hover:[&amp;:not(:disabled)]:bg-primary-400 hover:[&amp;:not(:disabled)]:border-primary-400 text-white dark:text-gray-900"
onclick="fetchLoanHistory(
'loan-history-item-container',
'{{ $resource->passport_serie }}',
'{{ $resource->passport_id }}',
)">
<span class="flex items-center gap-1">Karz taryhyny ýükle</span>
</button>
</div>
<div id="loan-history-item-container">