akaunting/resources/views/components/select-contact-card.blade.php

28 lines
871 B
PHP
Raw Normal View History

2020-12-24 01:28:38 +03:00
<akaunting-contact-card
placeholder="{{ $placeholder }}"
no-data-text="{{ trans('general.no_data') }}"
no-matching-data-text="{{ trans('general.no_matching_data') }}"
search-route="{{ $search_route }}"
create-route="{{ $create_route }}"
:contacts="{{ json_encode($contacts) }}"
:selected="{{ json_encode($contact) }}"
:add-new="{{ json_encode([
'status' => true,
'text' => trans('general.add_new'),
'new_text' => trans('modules.new'),
'buttons' => [
'cancel' => [
'text' => trans('general.cancel'),
'class' => 'btn-outline-secondary'
],
'confirm' => [
'text' => trans('general.save'),
'class' => 'btn-success'
]
]
])}}"
@change="onChangeContactCard"
></akaunting-contact-card>