| 
									
										
										
										
											2015-05-02 19:19:47 +02:00
										 |  |  | {% extends "./layout/default.twig" %}
 | 
					
						
							|  |  |  | {% block content %}
 | 
					
						
							|  |  |  |     {{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName, journal) }}
 | 
					
						
							|  |  |  |     {{ Form.open({'class' : 'form-horizontal','id' : 'destroy','url' : route('transactions.destroy',journal.id)}) }}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <div class="row">
 | 
					
						
							| 
									
										
										
										
											2015-05-14 16:32:35 +02:00
										 |  |  |     <div class="col-lg-6 col-lg-offset-3 col-md-6 col-sm-12">
 | 
					
						
							|  |  |  |         <div class="panel panel-red">
 | 
					
						
							| 
									
										
										
										
											2015-05-02 19:19:47 +02:00
										 |  |  |             <div class="panel-heading">
 | 
					
						
							| 
									
										
										
										
											2015-05-14 16:32:35 +02:00
										 |  |  |                 <i class="fa fa-exclamation-circle"></i>
 | 
					
						
							|  |  |  |                 {{ trans('form.delete_journal', {'description': journal.description}) }}
 | 
					
						
							| 
									
										
										
										
											2015-05-02 19:19:47 +02:00
										 |  |  |             </div>
 | 
					
						
							|  |  |  |             <div class="panel-body">
 | 
					
						
							|  |  |  |                 <p class="text-danger">
 | 
					
						
							| 
									
										
										
										
											2015-05-14 16:32:35 +02:00
										 |  |  |                     {{ trans('form.permDeleteWarning') }}
 | 
					
						
							| 
									
										
										
										
											2015-05-02 19:19:47 +02:00
										 |  |  |                 </p>
 | 
					
						
							| 
									
										
										
										
											2015-05-14 16:32:35 +02:00
										 |  |  |                 <p>
 | 
					
						
							|  |  |  |                     {{ trans('form.journal_areYouSure', {'description': journal.description}) }}
 | 
					
						
							|  |  |  |                 </p>
 | 
					
						
							|  |  |  |                 <p>
 | 
					
						
							|  |  |  |                     <input type="submit" name="submit" value="{{ trans('form.deletePermanently') }}" class="btn btn-danger" />
 | 
					
						
							| 
									
										
										
										
											2015-05-02 19:19:47 +02:00
										 |  |  |                     {% if journal.transactiontype.type == 'Withdrawal' %}
 | 
					
						
							| 
									
										
										
										
											2015-05-14 16:32:35 +02:00
										 |  |  |                         <a href="{{route('transactions.index','withdrawal')}}" class="btn-default btn">{{ trans('form.cancel') }}</a>
 | 
					
						
							| 
									
										
										
										
											2015-05-02 19:19:47 +02:00
										 |  |  |                     {% endif %}
 | 
					
						
							|  |  |  |                     {% if journal.transactiontype.type == 'Deposit' %}
 | 
					
						
							| 
									
										
										
										
											2015-05-14 16:32:35 +02:00
										 |  |  |                         <a href="{{route('transactions.index','deposit')}}" class="btn-default btn">{{ trans('form.cancel') }}</a>
 | 
					
						
							| 
									
										
										
										
											2015-05-02 19:19:47 +02:00
										 |  |  |                     {% endif %}
 | 
					
						
							|  |  |  |                     {% if journal.transactiontype.type == 'Transfer' %}
 | 
					
						
							| 
									
										
										
										
											2015-05-14 16:32:35 +02:00
										 |  |  |                         <a href="{{route('transactions.index','transfers')}}" class="btn-default btn">{{ trans('form.cancel') }}</a>
 | 
					
						
							| 
									
										
										
										
											2015-05-02 19:19:47 +02:00
										 |  |  |                     {% endif %}
 | 
					
						
							| 
									
										
										
										
											2015-05-14 16:32:35 +02:00
										 |  |  |                 </p>
 | 
					
						
							| 
									
										
										
										
											2015-05-02 19:19:47 +02:00
										 |  |  |             </div>
 | 
					
						
							|  |  |  |         </div>
 | 
					
						
							|  |  |  |     </div>
 | 
					
						
							|  |  |  | </div>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | </form>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% endblock %}
 |