WuYongJie 9595267ee7
Some checks failed
Tests / PHP 8.1 (push) Has been cancelled
Tests / PHP 8.2 (push) Has been cancelled
Tests / PHP 8.3 (push) Has been cancelled
chore: 导入 Akaunting 初始源码与团队协作规则
2026-07-20 18:20:25 +08:00

48 lines
1.5 KiB
PHP

@props(['category_and_contact', 'real_type', 'contact_type', 'account_currency_code'])
@if (! $hidePaymentMethod || ! $hideAccount || $category_and_contact || ! $hideCategory || ! $hideContact)
<div class="grid sm:grid-cols-6 gap-x-8 gap-y-6 my-3.5">
@if (! $hidePaymentMethod)
<x-form.group.payment-method
selected=""
not-required
form-group-class="sm:col-span-6"
/>
@endif
@if (! $hideAccount)
<x-form.group.account
without-add-new
selected=""
not-required
form-group-class="sm:col-span-6"
/>
@endif
@if ($category_and_contact)
@if (! $hideCategory)
<x-form.group.category
:type="$real_type"
without-add-new
selected=""
not-required
form-group-class="sm:col-span-6"
/>
@endif
@if (! $hideContact)
<x-form.group.contact
:type="$contact_type"
without-add-new
selected=""
not-required
form-group-class="sm:col-span-6"
/>
@endif
@endif
<x-form.input.hidden name="currency_code" :value="$account_currency_code" />
<x-form.input.hidden name="currency_rate" value="1" />
</div>
@endif