45 lines
1.5 KiB
PHP
Raw Normal View History

2021-07-06 21:39:09 +03:00
@extends('layouts.admin')
2021-07-09 23:36:41 +03:00
@section('title', trans_choice('general.transfers', 1))
2021-07-06 21:39:09 +03:00
2021-07-09 23:36:41 +03:00
@section('new_button')
<x-transfers.show.top-buttons :transfer="$transfer" />
@endsection
2021-07-06 21:39:09 +03:00
2021-07-09 23:36:41 +03:00
@section('content')
<x-transfers.show.content :transfer="$transfer" />
2021-07-06 21:39:09 +03:00
@endsection
2021-07-10 00:24:44 +03:00
@push('content_content_end')
<akaunting-modal
:show="template.modal"
@cancel="template.modal = false"
2021-07-15 00:18:08 +03:00
:title="'{{ trans('settings.transfer.choose_template') }}'"
2021-07-10 00:24:44 +03:00
:message="template.html"
:button_cancel="'{{ trans('general.button.save') }}'"
:button_delete="'{{ trans('general.button.cancel') }}'">
<template #modal-body>
@include('modals.settings.transfer_template')
</template>
<template #card-footer>
<div class="float-right">
<button type="button" class="btn btn-outline-secondary" @click="closeTemplate">
{{ trans('general.cancel') }}
</button>
<button :disabled="form.loading" type="button" class="btn btn-success button-submit" @click="addTemplate">
<span v-if="form.loading" class="btn-inner--icon"><i class="aka-loader"></i></span>
<span :class="[{'ml-0': form.loading}]" class="btn-inner--text">{{ trans('general.confirm') }}</span>
</button>
</div>
</template>
</akaunting-modal>
@endpush
2021-07-06 21:39:09 +03:00
@push('scripts_start')
2021-07-09 23:36:41 +03:00
<link rel="stylesheet" href="{{ asset('public/css/print.css?v=' . version('short')) }}" type="text/css">
<x-transfers.script />
@endpush