| 
									
										
										
										
											2016-11-06 08:11:43 +01:00
										 |  |  | {% extends "./layout/default" %}
 | 
					
						
							| 
									
										
										
										
											2015-06-19 20:59:14 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | {% block breadcrumbs %}
 | 
					
						
							| 
									
										
										
										
											2015-05-02 10:37:16 +02:00
										 |  |  |     {{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName) }}
 | 
					
						
							| 
									
										
										
										
											2015-06-19 20:59:14 +02:00
										 |  |  | {% endblock %}
 | 
					
						
							| 
									
										
										
										
											2015-05-02 10:37:16 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-06-19 20:59:14 +02:00
										 |  |  | {% block content %}
 | 
					
						
							| 
									
										
										
										
											2015-05-02 10:37:16 +02:00
										 |  |  |     <div class="row">
 | 
					
						
							|  |  |  |         <div class="col-lg-12 col-sm-12 col-md-12">
 | 
					
						
							| 
									
										
										
										
											2015-06-20 07:29:25 +02:00
										 |  |  |             <div class="box">
 | 
					
						
							|  |  |  |                 <div class="box-header with-border">
 | 
					
						
							| 
									
										
										
										
											2016-01-23 09:10:22 +01:00
										 |  |  |                     <h3 class="box-title">{{ 'currencies'|_ }}</h3>
 | 
					
						
							| 
									
										
										
										
											2015-05-02 10:37:16 +02:00
										 |  |  |                 </div>
 | 
					
						
							| 
									
										
										
										
											2015-06-20 07:29:25 +02:00
										 |  |  |                 <div class="box-body">
 | 
					
						
							| 
									
										
										
										
											2015-05-02 10:37:16 +02:00
										 |  |  |                     <p class="text-info">
 | 
					
						
							| 
									
										
										
										
											2016-01-23 09:10:22 +01:00
										 |  |  |                         {{ 'currencies_intro'|_ }}
 | 
					
						
							| 
									
										
										
										
											2015-05-02 10:37:16 +02:00
										 |  |  |                     </p>
 | 
					
						
							| 
									
										
										
										
											2015-06-21 15:09:10 +02:00
										 |  |  |                     {% if currencies|length > 0 %}
 | 
					
						
							|  |  |  |                         <table class="table table-hover">
 | 
					
						
							|  |  |  |                             <thead>
 | 
					
						
							|  |  |  |                             <tr>
 | 
					
						
							|  |  |  |                                 <th> </th>
 | 
					
						
							| 
									
										
										
										
											2016-12-28 21:48:37 +01:00
										 |  |  |                                 <th>{{ 'currency'|_ }}</th>
 | 
					
						
							|  |  |  |                                 <th>{{ 'number_of_decimals'|_ }}</th>
 | 
					
						
							|  |  |  |                                 <th> </th>
 | 
					
						
							| 
									
										
										
										
											2015-06-21 15:09:10 +02:00
										 |  |  |                             </tr>
 | 
					
						
							|  |  |  |                             </thead>
 | 
					
						
							|  |  |  |                             <tbody>
 | 
					
						
							|  |  |  |                             {% for currency in currencies %}
 | 
					
						
							| 
									
										
										
										
											2015-05-02 10:37:16 +02:00
										 |  |  |                                 <tr>
 | 
					
						
							| 
									
										
										
										
											2015-06-21 15:09:10 +02:00
										 |  |  |                                     <td>
 | 
					
						
							|  |  |  |                                         <div class="btn-group btn-group-xs">
 | 
					
						
							| 
									
										
										
										
											2016-12-05 20:01:01 +01:00
										 |  |  |                                             <a class="btn btn-default" href="{{ route('currencies.edit',currency.id) }}"><i class="fa fa-fw fa-pencil"></i></a>
 | 
					
						
							|  |  |  |                                             <a class="btn btn-danger" href="{{ route('currencies.delete',currency.id) }}"><i class="fa fa-fw fa-trash"></i></a>
 | 
					
						
							| 
									
										
										
										
											2015-06-21 15:09:10 +02:00
										 |  |  |                                         </div>
 | 
					
						
							|  |  |  |                                     </td>
 | 
					
						
							|  |  |  |                                     <td>{{ currency.name }} ({{ currency.code }}) ({{ currency.symbol|raw }})</td>
 | 
					
						
							| 
									
										
										
										
											2016-12-28 21:48:37 +01:00
										 |  |  |                                     <td>{{ currency.decimal_places }}</td>
 | 
					
						
							| 
									
										
										
										
											2015-06-21 15:09:10 +02:00
										 |  |  |                                     <td>
 | 
					
						
							| 
									
										
										
										
											2015-05-02 10:37:16 +02:00
										 |  |  |                                         {% if currency.id == defaultCurrency.id %}
 | 
					
						
							| 
									
										
										
										
											2016-01-23 09:10:22 +01:00
										 |  |  |                                             <span class="label label-success">{{ 'default_currency'|_ }}</span>
 | 
					
						
							| 
									
										
										
										
											2015-05-02 10:37:16 +02:00
										 |  |  |                                         {% else %}
 | 
					
						
							| 
									
										
										
										
											2016-08-27 03:50:35 +02:00
										 |  |  |                                             <a class="btn btn-info btn-xs"
 | 
					
						
							| 
									
										
										
										
											2016-12-05 20:01:01 +01:00
										 |  |  |                                                href="{{ route('currencies.default',currency.id) }}">{{ 'make_default_currency'|_ }}</a>
 | 
					
						
							| 
									
										
										
										
											2015-05-02 10:37:16 +02:00
										 |  |  |                                         {% endif %}
 | 
					
						
							| 
									
										
										
										
											2015-06-21 15:09:10 +02:00
										 |  |  |                                     </td>
 | 
					
						
							|  |  |  |                                 </tr>
 | 
					
						
							| 
									
										
										
										
											2015-05-02 10:37:16 +02:00
										 |  |  |                             {% endfor %}
 | 
					
						
							| 
									
										
										
										
											2015-06-21 15:09:10 +02:00
										 |  |  |                             </tbody>
 | 
					
						
							|  |  |  |                         </table>
 | 
					
						
							|  |  |  |                     {% endif %}
 | 
					
						
							|  |  |  |                 </div>
 | 
					
						
							|  |  |  |                 <div class="box-footer">
 | 
					
						
							| 
									
										
										
										
											2016-12-05 20:01:01 +01:00
										 |  |  |                     <a class="btn btn-success pull-right" href="{{ route('currencies.create') }}">{{ 'create_currency'|_ }}</a>
 | 
					
						
							| 
									
										
										
										
											2015-05-02 10:37:16 +02:00
										 |  |  |                 </div>
 | 
					
						
							|  |  |  |             </div>
 | 
					
						
							|  |  |  |         </div>
 | 
					
						
							|  |  |  |     </div>
 | 
					
						
							| 
									
										
										
										
											2015-05-05 12:51:57 +02:00
										 |  |  | {% endblock %}
 |