<commit_before><input type="hidden" name="sender_type" value="{{ $sender_type }}" />
<input type="hidden" name="target_type" value="{{ $target_type }}" />

@if(!empty($senders))
    @if($senders->count() == 1)
        <input type="hidden" name="sender_id" value="{{ $senders->first()->id }}">
    @else
        <x-larastrap::selectobj name="sender_id" :label="$sender_type::commonClassName()" :options="$senders" />
    @endif
@endif

@if(!empty($targets))
    @if($targets->count() == 1)
        <input type="hidden" name="target_id" value="{{ $targets->first()->id }}">
    @else
        <x-larastrap::selectobj name="target_id" :label="$target_type::commonClassName()" :options="$targets" />
    @endif
@endif

@if($fixed)
    <x-larastrap::price name="amount" :label="_i('Valore')" :value="$fixed" readonly />
@else
    @include('commons.pricecurrency')
@endif

<x-larastrap::radios name="method" :label="_i('Metodo')" :options="$payments" required />
<x-larastrap::text name="identifier" :label="_i('Identificativo')" />
<x-larastrap::textarea name="notes" :label="_i('Note')" :value="$default_notes" /><commit_msg>fix selezione metodo di default per nuovi movimenti<commit_after><input type="hidden" name="sender_type" value="{{ $sender_type }}" />
<input type="hidden" name="target_type" value="{{ $target_type }}" />

@if(!empty($senders))
    @if($senders->count() == 1)
        <input type="hidden" name="sender_id" value="{{ $senders->first()->id }}">
    @else
        <x-larastrap::selectobj name="sender_id" :label="$sender_type::commonClassName()" :options="$senders" />
    @endif
@endif

@if(!empty($targets))
    @if($targets->count() == 1)
        <input type="hidden" name="target_id" value="{{ $targets->first()->id }}">
    @else
        <x-larastrap::selectobj name="target_id" :label="$target_type::commonClassName()" :options="$targets" />
    @endif
@endif

@if($fixed)
    <x-larastrap::price name="amount" :label="_i('Valore')" :value="$fixed" readonly />
@else
    @include('commons.pricecurrency')
@endif

<x-larastrap::radios name="method" :label="_i('Metodo')" :options="$payments" :value="$default_method" required />
<x-larastrap::text name="identifier" :label="_i('Identificativo')" />
<x-larastrap::textarea name="notes" :label="_i('Note')" :value="$default_notes" />
{'fraction_non_alphanumeric': 0.2297003907946157, 'fraction_numerical': 0.0017368649587494573, 'mean_word_length': 5.877611940298507, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 35, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5621980', 'n_tokens_mistral': 778, 'n_tokens_neox': 759, 'n_words': 130}