fixed invoice templates
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
<div class="modal-body">
|
||||
{!! Form::open([
|
||||
'route' => 'modals.invoice-template.update',
|
||||
'route' => 'modals.invoice-templates.update',
|
||||
'method' => 'PATCH',
|
||||
'id' => 'template',
|
||||
'@submit.prevent' => 'onSubmit',
|
||||
@ -13,7 +13,7 @@
|
||||
<div class="row">
|
||||
<div class="col-md-4 text-center px-0">
|
||||
<div class="bg-print border-radius-5 print-edge choose" @click="invoice_form.template='default'">
|
||||
<img src="{{ asset('public/img/print_templates/default.png') }}" class="mb-1 mt-3" height="200" alt="Default"/>
|
||||
<img src="{{ asset('public/img/invoice_templates/default.png') }}" class="mb-1 mt-3" height="200" alt="Default"/>
|
||||
<label>
|
||||
<input type="radio" name="template" value="default" v-model="invoice_form.template">
|
||||
{{ trans('settings.invoice.default') }}
|
||||
@ -23,7 +23,7 @@
|
||||
|
||||
<div class="col-md-4 text-center px-0">
|
||||
<div class="bg-print border-radius-5 print-edge choose" @click="invoice_form.template='classic'">
|
||||
<img src="{{ asset('public/img/print_templates/classic.png') }}" class="mb-1 mt-3" height="200" alt="Classic"/>
|
||||
<img src="{{ asset('public/img/invoice_templates/classic.png') }}" class="mb-1 mt-3" height="200" alt="Classic"/>
|
||||
<label>
|
||||
<input type="radio" name="template" value="classic" v-model="invoice_form.template">
|
||||
{{ trans('settings.invoice.classic') }}
|
||||
@ -33,7 +33,7 @@
|
||||
|
||||
<div class="col-md-4 text-center px-0">
|
||||
<div class="bg-print border-radius-5 print-edge choose" @click="invoice_form.template='modern'">
|
||||
<img src="{{ asset('public/img/print_templates/modern.png') }}" class="mb-1 mt-3" height="200" alt="Modern"/>
|
||||
<img src="{{ asset('public/img/invoice_templates/modern.png') }}" class="mb-1 mt-3" height="200" alt="Modern"/>
|
||||
<label>
|
||||
<input type="radio" name="template" value="modern" v-model="invoice_form.template">
|
||||
{{ trans('settings.invoice.modern') }}
|
@ -41,7 +41,7 @@
|
||||
{{ Form::invoice_text('quantity_name', trans('settings.invoice.quantity_name'), 'font', $quantity_names, null, [], 'quantity_name_input', null) }}
|
||||
|
||||
<div class="form-group col-md-6">
|
||||
{!! Form::label('invoice_template', trans('settings.invoice.invoice_template'), ['class' => 'form-control-label']) !!}
|
||||
{!! Form::label('invoice_template', trans_choice('general.templates', 1), ['class' => 'form-control-label']) !!}
|
||||
|
||||
<div class="input-group">
|
||||
<a href="#" class="btn btn-block btn-outline-primary" @click="onTemplate">
|
||||
@ -75,7 +75,7 @@
|
||||
:button_cancel="'{{ trans('general.button.save') }}'"
|
||||
:button_delete="'{{ trans('general.button.cancel') }}'">
|
||||
<template #modal-body>
|
||||
@include('modals.settings.template')
|
||||
@include('modals.settings.invoice_template')
|
||||
</template>
|
||||
|
||||
<template #card-footer>
|
||||
|
Reference in New Issue
Block a user