Initial commit

This commit is contained in:
Ronald Huynen
2026-03-23 21:37:59 +01:00
commit 2547717edb
2193 changed files with 972171 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
<div>
<x-jetstream.dialog-modal wire:model="show" maxWidth="lg" closeButton="true">
<x-slot name="title">
{{ __('Account info') }}
</x-slot>
<x-slot name="content">
@if (count($accounts) > 0)
<div class="divide-y divide-theme-border">
@foreach ($accounts as $account)
<div class="flex items-center justify-between py-3">
<span class="text-sm text-theme-primary">{{ $account['name'] }}</span>
<span class="text-sm font-medium text-theme-primary">{{ $account['balanceFormatted'] }}</span>
</div>
@endforeach
</div>
<div class="mt-4 flex items-center justify-between border-t border-theme-border pt-4">
<span class="text-sm font-semibold text-theme-primary">{{ __('Total available') }}</span>
<span class="text-sm font-semibold text-theme-primary">{{ $totalBalanceFormatted }}</span>
</div>
<div class="mt-5 flex items-center gap-3 border-t border-theme-border pt-4">
<x-toggle wire:model.live="decimalFormat" id="decimalFormat" name="decimalFormat" />
<span class="text-xs text-theme-light">{{ __('Show in decimals') }} ({{ $totalBalanceDecimal }} {{ __('h.') }})</span>
</div>
@else
<p class="text-sm text-theme-light">{{ __('No active accounts found.') }}</p>
@endif
</x-slot>
<x-slot name="footer">
<x-jetstream.secondary-button wire:click="close">
{{ __('Close') }}
</x-jetstream.secondary-button>
</x-slot>
</x-jetstream.dialog-modal>
</div>