| 
									
										
										
										
											2016-11-06 08:11:43 +01:00
										 |  |  | {% extends "./layout/default" %}
 | 
					
						
							| 
									
										
										
										
											2015-06-19 20:59:14 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | {% block breadcrumbs %}
 | 
					
						
							| 
									
										
										
										
											2015-05-02 12:51:02 +02:00
										 |  |  |     {{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName, bill) }}
 | 
					
						
							| 
									
										
										
										
											2015-06-19 20:59:14 +02:00
										 |  |  | {% endblock %}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% block content %}
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-08-27 04:18:02 +02:00
										 |  |  |     <form method="POST" action="{{ route('bills.destroy',bill.id) }}" accept-charset="UTF-8" class="form-horizontal" id="destroy">
 | 
					
						
							|  |  |  |         <input name="_token" type="hidden" value="{{ csrf_token() }}">
 | 
					
						
							|  |  |  |         <div class="row">
 | 
					
						
							|  |  |  |             <div class="col-lg-6 col-lg-offset-3 col-md-12 col-sm-12">
 | 
					
						
							|  |  |  |                 <div class="box box-danger">
 | 
					
						
							|  |  |  |                     <div class="box-header with-border">
 | 
					
						
							|  |  |  |                         <h3 class="box-title">{{ trans('form.delete_bill', {'name': bill.name}) }}</h3>
 | 
					
						
							|  |  |  |                     </div>
 | 
					
						
							|  |  |  |                     <div class="box-body">
 | 
					
						
							|  |  |  |                         <p class="text-danger">
 | 
					
						
							|  |  |  |                             {{ trans('form.permDeleteWarning') }}
 | 
					
						
							|  |  |  |                         </p>
 | 
					
						
							| 
									
										
										
										
											2015-06-22 17:55:37 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-08-27 04:18:02 +02:00
										 |  |  |                         <p>
 | 
					
						
							|  |  |  |                             {{ trans('form.bill_areYouSure', {'name': bill.name}) }}
 | 
					
						
							|  |  |  |                         </p>
 | 
					
						
							| 
									
										
										
										
											2015-06-22 17:55:37 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-08-27 04:18:02 +02:00
										 |  |  |                         <p>
 | 
					
						
							| 
									
										
										
										
											2017-01-06 14:50:32 +01:00
										 |  |  |                             {% if bill.transactionjournals.count > 0 %}
 | 
					
						
							|  |  |  |                                 {{ Lang.choice('form.bill_keep_transactions', bill.transactionjournals.count,{count: bill.transactionjournals.count}) }}
 | 
					
						
							| 
									
										
										
										
											2016-08-27 04:18:02 +02:00
										 |  |  |                             {% endif %}
 | 
					
						
							|  |  |  |                         </p>
 | 
					
						
							|  |  |  |                     </div>
 | 
					
						
							|  |  |  |                     <div class="box-footer">
 | 
					
						
							|  |  |  |                         <input type="submit" name="submit" value="{{ trans('form.deletePermanently') }}" class="btn btn-danger pull-right"/>
 | 
					
						
							|  |  |  |                         <a href="{{ URL.previous() }}" class="btn-default btn">{{ trans('form.cancel') }}</a>
 | 
					
						
							|  |  |  |                     </div>
 | 
					
						
							| 
									
										
										
										
											2015-06-22 17:55:37 +02:00
										 |  |  |                 </div>
 | 
					
						
							| 
									
										
										
										
											2015-05-02 12:51:02 +02:00
										 |  |  |             </div>
 | 
					
						
							|  |  |  |         </div>
 | 
					
						
							| 
									
										
										
										
											2016-08-27 04:18:02 +02:00
										 |  |  |     </form>
 | 
					
						
							| 
									
										
										
										
											2015-05-05 12:51:57 +02:00
										 |  |  | {% endblock %}
 |