mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	Piggy bank supports notes (#350)
This commit is contained in:
		| @@ -31,6 +31,7 @@ | ||||
|                     </div> | ||||
|                     <div class="box-body"> | ||||
|                         {{ ExpandedForm.date('targetdate') }} | ||||
|                         {{ ExpandedForm.textarea('note') }} | ||||
|                     </div> | ||||
|                 </div> | ||||
|  | ||||
|   | ||||
| @@ -33,6 +33,7 @@ | ||||
|                 </div> | ||||
|                 <div class="box-body"> | ||||
|                     {{ ExpandedForm.date('targetdate') }} | ||||
|                     {{ ExpandedForm.textarea('note') }} | ||||
|                 </div> | ||||
|             </div> | ||||
|  | ||||
|   | ||||
| @@ -35,7 +35,7 @@ | ||||
|                 <div class="box-body table-responsive no-padding"> | ||||
|                     <table class="table table-hover"> | ||||
|                         <tr> | ||||
|                             <td>{{ 'account'|_ }}</td> | ||||
|                             <td style="width:40%;">{{ 'account'|_ }}</td> | ||||
|                             <td><a href="{{ route('accounts.show', piggyBank.account_id) }}">{{ piggyBank.account.name }}</a></td> | ||||
|                         </tr> | ||||
|                         <tr> | ||||
| @@ -73,6 +73,20 @@ | ||||
|                     </table> | ||||
|                 </div> | ||||
|             </div> | ||||
|  | ||||
|             {% if note %} | ||||
|             <div class="box"> | ||||
|                 <div class="box-header with-border"> | ||||
|                     <h3 class="box-title">{{ trans('form.notes') }}</h3> | ||||
|                 </div> | ||||
|                 <div class="box-body"> | ||||
|                     <p> | ||||
|                     {{ note.text|nl2br }} | ||||
|                     </p> | ||||
|                 </div> | ||||
|             </div> | ||||
|             {% endif %} | ||||
|  | ||||
|             <div class="box"> | ||||
|                 <div class="box-header with-border"> | ||||
|                     <h3 class="box-title">{{ 'table'|_ }}</h3> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user