Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Add attachment thing to upload form.
James Cole142bdc9430c5
diff --git a/resources/lang/en/form.php b/resources/lang/en/form.phpindex 935ce49bfb..4f570dfeb9 100644--- a/resources/lang/en/form.php+++ b/resources/lang/en/form.php@@ -51,8 +51,8 @@ return ['date_format' => 'Date format','csv_config' => 'CSV import configuration','specifix' => 'Bank- or file specific fixes',- 'csv_import_account' => 'Default import account',-+ 'csv_import_account' => 'Default import account',+ 'attachments' => 'Attachments','store_new_withdrawal' => 'Store new withdrawal','store_new_deposit' => 'Store new deposit','store_new_transfer' => 'Store new transfer',diff --git a/resources/lang/nl/form.php b/resources/lang/nl/form.phpindex 071cc3230c..4d6366f73f 100644--- a/resources/lang/nl/form.php+++ b/resources/lang/nl/form.php@@ -51,6 +51,7 @@ return ['date_format' => 'Datumformaat','csv_config' => 'Configuratiebestand','specifix' => 'Bank- or of bestandsspecifieke opties',+ 'attachments' => 'Bijlagen','store_new_withdrawal' => 'Nieuwe uitgave opslaan','store_new_deposit' => 'Nieuwe inkomsten opslaan',diff --git a/resources/twig/transactions/create.twig b/resources/twig/transactions/create.twigindex e4c6a0b696..d67ef828d3 100644--- a/resources/twig/transactions/create.twig+++ b/resources/twig/transactions/create.twig@@ -71,6 +71,10 @@<!-- RELATE THIS TRANSFER TO A PIGGY BANK -->{{ ExpandedForm.select('piggy_bank_id',piggies) }}++ <!-- ATTACHMENTS -->+ {{ ExpandedForm.file('attachments', {'multiple': 'multiple'}) }}+</div></div>