mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Refactored payment methods display
This commit is contained in:
parent
4fbbf52c4e
commit
68a0db8725
@ -1,9 +1,11 @@
|
||||
<div>
|
||||
<h1 class="text-2xl">{{ ctrans('texts.payment_methods') }}</h1>
|
||||
|
||||
@foreach($methods as $method)
|
||||
<button wire:click="handleSelect('{{ $method['company_gateway_id'] }}', '{{ $method['gateway_type_id'] }}')">
|
||||
{{ $method['label'] }}
|
||||
</button>
|
||||
@endforeach
|
||||
<div class="flex flex-col space-y-3 my-3">
|
||||
@foreach($methods as $method)
|
||||
<button class="flex items-center justify-between mb-4 bg-white rounded px-6 py-4 shadow-sm border" wire:click="handleSelect('{{ $method['company_gateway_id'] }}', '{{ $method['gateway_type_id'] }}')">
|
||||
{{ $method['label'] }}
|
||||
</button>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user