reconciliation edited

This commit is contained in:
Burak Civan 2022-08-03 10:44:44 +03:00
parent 5fca2098a4
commit 5cb11e3ea6
3 changed files with 7 additions and 7 deletions

View File

@ -19,11 +19,11 @@ class Section extends Component
* @return void * @return void
*/ */
public function __construct( public function __construct(
string $spacingVertical = 'gap-x-8', string $spacingHorizontal = 'gap-y-6', string $columnNumber = 'sm:grid-cols-6', string $spacingVertical = 'gap-y-6', string $spacingHorizontal = 'gap-x-8', string $columnNumber = 'sm:grid-cols-6',
) { ) {
$this->spacingVertical = $spacingVertical; $this->spacingVertical = $spacingVertical;
$this->spacingHorizontal = $spacingHorizontal; $this->spacingHorizontal = $spacingHorizontal;
$columnNumber = $columnNumber; $this->columnNumber = $columnNumber;
} }
/** /**

View File

@ -12,8 +12,8 @@
<x-slot name="content"> <x-slot name="content">
<div class="relative mt-4"> <div class="relative mt-4">
<x-form id="form-create-reconciliation" method="get" route="reconciliations.create"> <x-form id="form-create-reconciliation" method="get" route="reconciliations.create">
<div class=" mb-14"> <x-form.section column-number="sm:grid-cols-10">
<div class="grid sm:grid-cols-10 gap-x-8 gap-y-6 my-3.5 mt-3.5 lg:mt-8"> <x-slot name="body">
<x-form.group.date <x-form.group.date
name="started_at" name="started_at"
label="{{ trans('reconciliations.start_date') }}" label="{{ trans('reconciliations.start_date') }}"
@ -66,8 +66,8 @@
{{ trans('reconciliations.transactions') }} {{ trans('reconciliations.transactions') }}
</x-button> </x-button>
</div> </div>
</div> </x-slot>
</div> </x-form.section>
</x-form> </x-form>
<div id="reconciliations-table"> <div id="reconciliations-table">

View File

@ -5,7 +5,7 @@
<x-slot name="content"> <x-slot name="content">
<x-form id="form-app" route="apps.api-key.store"> <x-form id="form-app" route="apps.api-key.store">
<x-form.section spacing-horizontal="gap-y-2"> <x-form.section spacing-vertical="gap-y-2">
<x-slot name="body"> <x-slot name="body">
<x-form.group.text name="api_key" placeholder="{{ trans('general.form.enter', ['field' => trans('modules.api_key')]) }}" value="{{ setting('apps.api_key', null) }}" /> <x-form.group.text name="api_key" placeholder="{{ trans('general.form.enter', ['field' => trans('modules.api_key')]) }}" value="{{ setting('apps.api_key', null) }}" />