diff --git a/public/js/ff/transactions/single/edit.js b/public/js/ff/transactions/single/edit.js index 86b79bf30a..cf5248e021 100644 --- a/public/js/ff/transactions/single/edit.js +++ b/public/js/ff/transactions/single/edit.js @@ -52,6 +52,8 @@ $(document).ready(function () { // convert source currency to destination currency (slightly different routine for transfers) $('#ffInput_source_amount').on('change', convertSourceToDestination); + // + }); diff --git a/resources/lang/en_US/form.php b/resources/lang/en_US/form.php index 9904018181..46bf5d8c85 100644 --- a/resources/lang/en_US/form.php +++ b/resources/lang/en_US/form.php @@ -95,6 +95,7 @@ return [ 'amount' => 'Amount', 'foreign_amount' => 'Foreign amount', + 'existing_attachments' => 'Existing attachments', 'date' => 'Date', 'interest_date' => 'Interest date', 'book_date' => 'Book date', diff --git a/resources/views/transactions/single/edit.twig b/resources/views/transactions/single/edit.twig index 13c50709be..11fc096c5b 100644 --- a/resources/views/transactions/single/edit.twig +++ b/resources/views/transactions/single/edit.twig @@ -177,15 +177,39 @@ {% endif %} - {% if optionalFields.attachments %} + {% if optionalFields.attachments or journal.attachments|length > 0 %}