| 
									
										
										
										
											2015-06-20 07:48:44 +02:00
										 |  |  | <table class="table table-hover sortable">
 | 
					
						
							| 
									
										
										
										
											2015-05-01 22:44:35 +02:00
										 |  |  |     <thead>
 | 
					
						
							|  |  |  |     <tr>
 | 
					
						
							| 
									
										
										
										
											2016-03-14 17:18:28 +01:00
										 |  |  |         <th class="hidden-sm hidden-xs" data-defaultsort="disabled"> </th>
 | 
					
						
							| 
									
										
										
										
											2016-11-20 15:30:16 +01:00
										 |  |  |         <th data-defaultsign="az">{{ trans('list.name') }}</th>
 | 
					
						
							| 
									
										
										
										
											2015-05-01 22:44:35 +02:00
										 |  |  |         {% if what == 'asset' %}
 | 
					
						
							| 
									
										
										
										
											2016-11-20 15:30:16 +01:00
										 |  |  |             <th data-defaultsign="az" class="hidden-sm hidden-xs">{{ trans('list.role') }}</th>
 | 
					
						
							| 
									
										
										
										
											2015-05-01 22:44:35 +02:00
										 |  |  |         {% endif %}
 | 
					
						
							| 
									
										
										
										
											2016-11-20 15:30:16 +01:00
										 |  |  |         <th data-defaultsign="az" class="hidden-sm hidden-xs">{{ trans('list.iban') }}</th>
 | 
					
						
							|  |  |  |         <th data-defaultsign="_19">{{ trans('list.currentBalance') }}</th>
 | 
					
						
							| 
									
										
										
										
											2015-06-25 17:06:20 +02:00
										 |  |  |         <th class="hidden-sm hidden-xs">{{ trans('list.active') }}</th>
 | 
					
						
							| 
									
										
										
										
											2016-11-20 15:30:16 +01:00
										 |  |  |         <th data-defaultsign="month" class="hidden-sm hidden-xs">{{ trans('list.lastActivity') }}</th>
 | 
					
						
							|  |  |  |         <th data-defaultsign="_19" class="hidden-sm hidden-xs">{{ trans('list.balanceDiff', {'start' : Session.get('start').formatLocalized(monthAndDayFormat),'end' : Session.get('end').formatLocalized(monthAndDayFormat)}) }}</th>
 | 
					
						
							| 
									
										
										
										
											2015-05-01 22:44:35 +02:00
										 |  |  |     </tr>
 | 
					
						
							|  |  |  |     </thead>
 | 
					
						
							|  |  |  |     <tbody>
 | 
					
						
							|  |  |  |     {% for account in accounts %}
 | 
					
						
							|  |  |  |         <tr>
 | 
					
						
							| 
									
										
										
										
											2016-03-14 17:18:28 +01:00
										 |  |  |             <td class="hidden-sm hidden-xs">
 | 
					
						
							| 
									
										
										
										
											2015-05-01 22:44:35 +02:00
										 |  |  |                 <div class="btn-group btn-group-xs">
 | 
					
						
							| 
									
										
										
										
											2015-06-27 08:06:24 +02:00
										 |  |  |                     <a class="btn btn-default btn-xs" href="{{ route('accounts.edit',account.id) }}"><i class="fa fa-fw fa-pencil"></i></a>
 | 
					
						
							|  |  |  |                     <a class="btn btn-danger btn-xs" href="{{ route('accounts.delete',account.id) }}"><i class="fa fa-fw fa-trash-o"></i></a>
 | 
					
						
							| 
									
										
										
										
											2015-05-01 22:44:35 +02:00
										 |  |  |                 </div>
 | 
					
						
							|  |  |  |             </td>
 | 
					
						
							| 
									
										
										
										
											2016-11-20 17:36:11 +01:00
										 |  |  |             <td data-value="{{ account.name }}"><a href="{{ route('accounts.show',account.id) }}">{{ account.name }}</a></td>
 | 
					
						
							| 
									
										
										
										
											2015-05-01 22:44:35 +02:00
										 |  |  |             {% if what == "asset" %}
 | 
					
						
							| 
									
										
										
										
											2015-06-25 17:06:20 +02:00
										 |  |  |                 <td class="hidden-sm hidden-xs">
 | 
					
						
							| 
									
										
										
										
											2015-05-01 22:44:35 +02:00
										 |  |  |                     {% for entry in account.accountmeta %}
 | 
					
						
							|  |  |  |                         {% if entry.name == 'accountRole' %}
 | 
					
						
							|  |  |  |                             {{ entry.data|getAccountRole }}
 | 
					
						
							|  |  |  |                         {% endif %}
 | 
					
						
							|  |  |  |                     {% endfor %}
 | 
					
						
							|  |  |  |                 </td>
 | 
					
						
							|  |  |  |             {% endif %}
 | 
					
						
							| 
									
										
										
										
											2016-03-14 17:18:28 +01:00
										 |  |  |             <td class="hidden-sm hidden-xs">{{ account.iban }}</td>
 | 
					
						
							| 
									
										
										
										
											2015-07-10 20:59:20 +02:00
										 |  |  |             <td data-value="{{ account.endBalance }}">{{ account.endBalance|formatAmount }}</td>
 | 
					
						
							| 
									
										
										
										
											2015-06-27 08:06:24 +02:00
										 |  |  |             <td class="hidden-sm hidden-xs" data-value="{{ account.active }}">
 | 
					
						
							| 
									
										
										
										
											2015-05-01 22:44:35 +02:00
										 |  |  |                 {% if account.active %}
 | 
					
						
							|  |  |  |                     <i class="fa fa-fw fa-check"></i>
 | 
					
						
							|  |  |  |                 {% else %}
 | 
					
						
							|  |  |  |                     <i class="fa fa-fw fa-ban"></i>
 | 
					
						
							|  |  |  |                 {% endif %}
 | 
					
						
							|  |  |  |             </td>
 | 
					
						
							|  |  |  |             {% if account.lastActivityDate %}
 | 
					
						
							| 
									
										
										
										
											2016-11-20 17:36:11 +01:00
										 |  |  |                 <td class="hidden-sm hidden-xs" data-value="{{ account.lastActivityDate.format('Y-m-d H-i-s') }} ">
 | 
					
						
							| 
									
										
										
										
											2015-05-14 18:00:56 +02:00
										 |  |  |                     {{ account.lastActivityDate.formatLocalized(monthAndDayFormat) }}
 | 
					
						
							| 
									
										
										
										
											2015-05-01 22:44:35 +02:00
										 |  |  |                 </td>
 | 
					
						
							|  |  |  |             {% else %}
 | 
					
						
							| 
									
										
										
										
											2016-11-20 17:36:11 +01:00
										 |  |  |                 <td class="hidden-sm hidden-xs" data-value="0000-00-00 00-00-00">
 | 
					
						
							| 
									
										
										
										
											2015-07-24 13:34:22 +02:00
										 |  |  |                     <em>{{ 'never'|_ }}</em>
 | 
					
						
							| 
									
										
										
										
											2015-05-01 22:44:35 +02:00
										 |  |  |                 </td>
 | 
					
						
							|  |  |  |             {% endif %}
 | 
					
						
							| 
									
										
										
										
											2016-12-20 17:10:30 +01:00
										 |  |  |             <td class="hidden-sm hidden-xs" data-value="{{ account.difference }}">
 | 
					
						
							|  |  |  |                 {{ (account.difference)|formatAmount }}
 | 
					
						
							| 
									
										
										
										
											2015-05-01 22:44:35 +02:00
										 |  |  |             </td>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         </tr>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     {% endfor %}
 | 
					
						
							|  |  |  |     </tbody>
 | 
					
						
							| 
									
										
										
										
											2015-05-05 12:51:57 +02:00
										 |  |  | </table>
 |