| 
									
										
										
										
											2017-11-24 21:51:07 +01:00
										 |  |  | {% extends "./layout/default" %}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% block breadcrumbs %}
 | 
					
						
							| 
									
										
										
										
											2017-12-23 20:46:52 +01:00
										 |  |  |     {{ Breadcrumbs.render(Route.getCurrentRoute.getName, journal) }}
 | 
					
						
							| 
									
										
										
										
											2017-11-24 21:51:07 +01:00
										 |  |  | {% endblock %}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% block content %}
 | 
					
						
							|  |  |  |     <form method="POST" action="{{ route('accounts.reconcile.update',journal.id) }}" accept-charset="UTF-8" class="form-horizontal" id="update"
 | 
					
						
							|  |  |  |           enctype="multipart/form-data">
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         <input name="_token" type="hidden" value="{{ csrf_token() }}">
 | 
					
						
							|  |  |  |         <input type="hidden" name="id" value="{{ journal.id }}"/>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         {% if errors.all|length > 0 %}
 | 
					
						
							|  |  |  |             <div class="row">
 | 
					
						
							|  |  |  |                 <div class="col-lg-12">
 | 
					
						
							|  |  |  |                     <h3 class="text-danger">{{ 'errors'|_ }}</h3>
 | 
					
						
							|  |  |  |                     <ul>
 | 
					
						
							|  |  |  |                         {% for err in errors.all %}
 | 
					
						
							|  |  |  |                             <li class="text-danger">{{ err }}</li>
 | 
					
						
							|  |  |  |                         {% endfor %}
 | 
					
						
							|  |  |  |                     </ul>
 | 
					
						
							|  |  |  |                 </div>
 | 
					
						
							|  |  |  |             </div>
 | 
					
						
							|  |  |  |         {% endif %}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         <div class="row">
 | 
					
						
							|  |  |  |             <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
 | 
					
						
							|  |  |  |                 <div class="box box-primary">
 | 
					
						
							|  |  |  |                     <div class="box-header with-border">
 | 
					
						
							|  |  |  |                         <h3 class="box-title">{{ 'mandatoryFields'|_ }}</h3>
 | 
					
						
							|  |  |  |                     </div>
 | 
					
						
							|  |  |  |                     <div class="box-body">
 | 
					
						
							|  |  |  |                         {# ALWAYS AVAILABLE #}
 | 
					
						
							|  |  |  |                         {{ ExpandedForm.staticText('description',journal.description) }}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |                         {# ALWAYS SHOW AMOUNT #}
 | 
					
						
							|  |  |  |                         {{ ExpandedForm.nonSelectableAmount('amount',data.amount, {'currency' : data.currency}) }}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |                         {# ALWAYS SHOW DATE #}
 | 
					
						
							|  |  |  |                         {{ ExpandedForm.staticText('date',journal.date.formatLocalized(monthAndDayFormat)) }}
 | 
					
						
							|  |  |  |                     </div>
 | 
					
						
							|  |  |  |                 </div>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |             </div>
 | 
					
						
							|  |  |  |             <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
 | 
					
						
							|  |  |  |                 <div class="box">
 | 
					
						
							|  |  |  |                     <div class="box-header with-border">
 | 
					
						
							|  |  |  |                         <h3 class="box-title">{{ 'optionalFields'|_ }}</h3>
 | 
					
						
							|  |  |  |                     </div>
 | 
					
						
							|  |  |  |                     <div class="box-body">
 | 
					
						
							| 
									
										
										
										
											2018-01-12 18:42:48 +01:00
										 |  |  |                         {# category always #}
 | 
					
						
							| 
									
										
										
										
											2018-01-25 18:41:27 +01:00
										 |  |  |                         {{ ExpandedForm.text('category',data.category) }}
 | 
					
						
							| 
									
										
										
										
											2017-11-24 21:51:07 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-01-12 18:42:48 +01:00
										 |  |  |                         {# tags #}
 | 
					
						
							| 
									
										
										
										
											2017-11-24 21:51:07 +01:00
										 |  |  |                         {{ ExpandedForm.text('tags') }}
 | 
					
						
							|  |  |  |                     </div>
 | 
					
						
							|  |  |  |                 </div>
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-01-12 18:42:48 +01:00
										 |  |  |                 {# box for attachments #}
 | 
					
						
							| 
									
										
										
										
											2017-11-24 21:51:07 +01:00
										 |  |  |                 {% if optionalFields.attachments %}
 | 
					
						
							|  |  |  |                     <div class="box">
 | 
					
						
							|  |  |  |                         <div class="box-header with-border">
 | 
					
						
							|  |  |  |                             <h3 class="box-title">{{ 'optional_field_attachments'|_ }}</h3>
 | 
					
						
							|  |  |  |                         </div>
 | 
					
						
							|  |  |  |                         <div class="box-body">
 | 
					
						
							|  |  |  |                             {% if optionalFields.attachments %}
 | 
					
						
							| 
									
										
										
										
											2018-01-12 18:42:48 +01:00
										 |  |  |                                 {# attachments #}
 | 
					
						
							| 
									
										
										
										
											2017-11-24 21:51:07 +01:00
										 |  |  |                                 {{ ExpandedForm.file('attachments[]', {'multiple': 'multiple','helpText': trans('firefly.upload_max_file_size', {'size': uploadSize|filesize}) }) }}
 | 
					
						
							|  |  |  |                             {% endif %}
 | 
					
						
							|  |  |  |                         </div>
 | 
					
						
							|  |  |  |                     </div>
 | 
					
						
							|  |  |  |                 {% endif %}
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-01-12 18:42:48 +01:00
										 |  |  |                 {# panel for options #}
 | 
					
						
							| 
									
										
										
										
											2017-11-24 21:51:07 +01:00
										 |  |  |                 <div class="box">
 | 
					
						
							|  |  |  |                     <div class="box-header with-border">
 | 
					
						
							|  |  |  |                         <h3 class="box-title">{{ 'options'|_ }}</h3>
 | 
					
						
							|  |  |  |                     </div>
 | 
					
						
							|  |  |  |                     <div class="box-body">
 | 
					
						
							|  |  |  |                         {{ ExpandedForm.optionsList('update','transaction') }}
 | 
					
						
							|  |  |  |                     </div>
 | 
					
						
							|  |  |  |                     <div class="box-footer">
 | 
					
						
							|  |  |  |                         <button type="submit" class="pull-right btn btn-success">{{ ('update_reconciliation')|_ }}</button>
 | 
					
						
							|  |  |  |                     </div>
 | 
					
						
							|  |  |  |                 </div>
 | 
					
						
							|  |  |  |             </div>
 | 
					
						
							|  |  |  |         </div>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     </form>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% endblock %}
 | 
					
						
							|  |  |  | {% block scripts %}
 | 
					
						
							| 
									
										
										
										
											2020-01-04 11:00:44 +01:00
										 |  |  |     <script type="text/javascript" nonce="{{ JS_NONCE }}">
 | 
					
						
							| 
									
										
										
										
											2017-11-24 21:51:07 +01:00
										 |  |  |         var what = "{{ what }}";
 | 
					
						
							|  |  |  |     </script>
 | 
					
						
							| 
									
										
										
										
											2020-01-04 11:16:14 +01:00
										 |  |  |     <script type="text/javascript" src="v1/js/lib/typeahead/typeahead.bundle.min.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
 | 
					
						
							|  |  |  |     <script type="text/javascript" src="v1/js/ff/common/autocomplete.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
 | 
					
						
							|  |  |  |     <script type="text/javascript" src="v1/js/lib/bootstrap-tagsinput.min.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
 | 
					
						
							|  |  |  |     <script type="text/javascript" src="v1/js/lib/jquery-ui.min.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
 | 
					
						
							|  |  |  |     <script type="text/javascript" src="v1/js/lib/modernizr-custom.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
 | 
					
						
							|  |  |  |     <script type="text/javascript" src="v1/jscript/accounts?ext=.js&v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
 | 
					
						
							|  |  |  |     <script type="text/javascript" src="v1/jscript/currencies?ext=.js&v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
 | 
					
						
							| 
									
										
										
										
											2017-11-24 21:51:07 +01:00
										 |  |  |     <script type="text/javascript">
 | 
					
						
							|  |  |  |         var journal = {{ journal.toArray()|json_encode|raw }};
 | 
					
						
							|  |  |  |         var journalData = {{ data|json_encode|raw }};
 | 
					
						
							|  |  |  |     </script>
 | 
					
						
							| 
									
										
										
										
											2020-01-04 11:16:14 +01:00
										 |  |  |     <script type="text/javascript" src="v1/js/ff/accounts/edit-reconciliation.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
 | 
					
						
							| 
									
										
										
										
											2017-11-24 21:51:07 +01:00
										 |  |  | {% endblock %}
 | 
					
						
							|  |  |  | {% block styles %}
 | 
					
						
							| 
									
										
										
										
											2018-11-02 19:59:29 +01:00
										 |  |  |     <link href="v1/css/bootstrap-tagsinput.css?v={{ FF_VERSION }}" type="text/css" rel="stylesheet" media="all">
 | 
					
						
							|  |  |  |     <link href="v1/css/jquery-ui/jquery-ui.structure.min.css?v={{ FF_VERSION }}" type="text/css" rel="stylesheet" media="all">
 | 
					
						
							|  |  |  |     <link href="v1/css/jquery-ui/jquery-ui.theme.min.css?v={{ FF_VERSION }}" type="text/css" rel="stylesheet" media="all">
 | 
					
						
							| 
									
										
										
										
											2017-11-24 21:51:07 +01:00
										 |  |  | {% endblock %}
 |