Remove v1 references

This commit is contained in:
James Cole
2022-01-29 14:17:25 +01:00
parent cb8b49fd7a
commit 1d26c12771
11 changed files with 15 additions and 15 deletions

View File

@@ -81,7 +81,7 @@
<a href="{{ route('transactions.create', [objectType]) }}" class="btn btn-success"><span class="fa fa-plus fa-fw"></span> {{ 'create_new_transaction'|_ }}</a>
</div>
{# actual list #}
{% include 'v1.list.groups' %}
{% include 'list.groups' %}
</div>
<div class="box-footer">
{# links for other views #}
@@ -103,7 +103,7 @@
{# boxes with info #}
{% if periods|length > 0 %}
<div class="col-lg-2 col-md-2 col-sm-12 col-xs-12">
{% include 'v1.list.periods' %}
{% include 'list.periods' %}
</div>
{% endif %}

View File

@@ -391,7 +391,7 @@
<h3 class="box-title">{{ 'attachments'|_ }}</h3>
</div>
<div class="box-body no-padding">
{% include 'v1.list.attachments' with {attachments: attachments[journal.transaction_journal_id]} %}
{% include 'list.attachments' with {attachments: attachments[journal.transaction_journal_id]} %}
</div>
</div>
{% endif %}
@@ -426,7 +426,7 @@
{% block scripts %}
<script type="text/javascript" nonce="{{ JS_NONCE }}">
var modalDialogURI = '{{ route('transactions.link.modal', ['%JOURNAL%']) }}';
var acURI = '{{ route('api.v1.autocomplete.transactions-with-id') }}';
var acURI = '{{ route('api.autocomplete.transactions-with-id') }}';
var groupURI = '{{ route('transactions.show',['%GROUP%']) }}';
var cloneGroupUrl = '{{ route('transactions.clone') }}';