--- /dev/null
+<table ng-if="appliances[customer.id].retour == 'OK'" class="table table-striped">
+ <tr ng-if="appliances[customer.id].result.length > 0 || (!Array.isArray(appliances[customer.id].result) && appliances[customer.id].result.id)">
+ <th class="col-lg-2">Référence</th>
+ <th class="col-lg-1">Produit</th>
+ <th class="col-lg-2">Dernière version</th>
+ <th class="col-lg-1">Canal</th>
+ <th class="col-lg-2">Etat de validité</th>
+ <th class="col-lg-2">Traité</th>
+ <th class="col-lg-4">Date de création</th>
+ <th class="col-lg-2">Actions</th>
+ </tr>
+ <tr ng-if="appliances[customer.id].result.length > 0" ng-repeat="appliance in appliances[customer.id].result">
+ <td class="col-lg-2"><a href="#/appliances/{{appliance.id}}">{{appliance.reference}}</a></td>
+ <td class="col-lg-1" ng-repeat="product in products.result" ng-if="product.id == appliance.product">
+ <a href="#/products/{{product.id}}">{{product.name}}</a>
+ </td>
+ <td class="col-lg-2">
+ <a href="#/versions/{{appliance.version_id}}">{{appliance.version_value}}</a>
+ </td>
+ <td class="col-lg-1">{{appliance.channel}}</td>
+ <td class="col-lg-2" ng-if="appliance.is_valide==1">Valide</td>
+ <td class="col-lg-2 has-error" ng-if="appliance.is_valide==0">Non valide</td>
+ <td class="col-lg-2" ng-if="appliance.is_valider==1">Oui</td>
+ <td class="col-lg-2 has-error" ng-if="appliance.is_valider==0">Non</td>
+ <td class="col-lg-4" ng-repeat="applianceChangelog in appliancesChangelog[appliance.id].result"
+ ng-if="applianceChangelog.id == appliance.last_appliance_version_id">
+ {{applianceChangelog.creation_date}}
+ </td>
+ <td class="col-lg-2"><span class="btn btn-danger" ng-click="applianceDeleted(appliance.id)">Supprimer</span></td>
+ </tr>
+ <tr ng-if="!Array.isArray(appliances[customer.id].result) && appliances[customer.id].result.id > 0">
+ <td class="col-lg-2"><a href="#/appliances/{{appliances[customer.id].result.id}}">{{appliances[customer.id].result.reference}}</a></td>
+ <td class="col-lg-1" ng-repeat="product in products.result" ng-if="product.id == appliances[customer.id].result.product">
+ <a href="#/products/{{product.id}}">{{product.name}}</a>
+ </td>
+ <td class="col-lg-2">
+ <a href="#/versions/{{appliances[customer.id].result.version_id}}">{{appliances[customer.id].result.version_value}}</a>
+ </td>
+ <td class="col-lg-1">{{appliances[customer.id].result.channel}}</td>
+ <td class="col-lg-2" ng-if="appliances[customer.id].result.is_valide==1">Valide</td>
+ <td class="col-lg-2 has-error" ng-if="appliances[customer.id].result.is_valide==0">Non valide</td>
+ <td class="col-lg-2" ng-if="appliances[customer.id].result.is_valider==1">Oui</td>
+ <td class="col-lg-2 has-error" ng-if="appliances[customer.id].result.is_valider==0">Non</td>
+ <td class="col-lg-4" ng-repeat="applianceChangelog in appliancesChangelog[appliances[customer.id].result.id].result"
+ ng-if="applianceChangelog.id == appliances[customer.id].result.last_appliance_version_id">
+ {{applianceChangelog.creation_date}}
+ </td>
+ <td class="col-lg-2">
+ <span class="btn btn-danger" ng-click="applianceDeleted(appliances[customer.id].result.id)">
+ <i class="fa fa-times fa-2x"></i>
+ <span>Supprimer</span>
+ </span>
+ </td>
+ </tr>
+ <tr ng-if="!(appliances[customer.id].result.length > 0 || (!Array.isArray(appliances[customer.id].result) && appliances[customer.id].result.id))">
+ <td>Aucune instance n'existe pour ce client.</td>
+ </tr>
+
+</table>
+<span ng-if="appliances[customer.id].retour == 'KO'" class="has-error">{{appliances[customer.id].message}}</span>
+
+<div ng-if="appliances[customer.id].result.length == 0" class="has-feedback">
+ Aucune instance n'existe pour ce client.
+</div>
\ No newline at end of file