@props([
'isNew' => true,
'isCopy' => false,
'updateBtnName' => '更新',
'hasCandidatesAlignment' => false,
'hasPartnerPricesAlignment' => false,
'hasTradeCandidateForm' => false,
'hasEditLog' => false,
'hasClear' => true,
'hasSubmit' => true,
'hasConfig' => true,
'canSave' => true,
'disabled' => false,
'isActiveBtns' => true,
'returnLink' => null,
'config' => null,
'key' => null,
'additionalInfoLabel' => null,
'currentPage' => null,
'isActiveCopyBtn' => false,
])
@php
$disabled = $disabled || !$isActiveBtns;
@endphp
@if ($hasSubmit)
@if($isNew)
登録
@else
{{$updateBtnName}}
@endif
(F1)
@else
@endif
@if ($additionalInfoLabel)
{{$additionalInfoLabel}}(F2)
@else
@endif
@if(is_a($this, \App\Concerns\WithBottomAddBtn::class))
@else
@endif
@if ($hasConfig && $config != '' && $isNew)
設定(F4)
@else
@endif
@if (!$hasCandidatesAlignment)
@else
候補連携
@endif
@if (!$hasPartnerPricesAlignment)
@else
単価連携
@endif
@if ($hasEditLog && !$isNew)
ログ(F7)
@else
@endif
@if ($hasTradeCandidateForm)
候補(F8)
@else
@endif
@if ($hasClear)
クリア(F9)
@else
@endif
@if (!$isNew && !$isCopy)
複製(F10)
@else
@endif
終了(F12)
{{--ドロアーを開くためのボタン、livewireから呼び出す--}}
{{--ドロアーの中身--}}