setting.firm.php 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. global $myUser;
  3. User::check_access('firm','configure');
  4. ?>
  5. <div class="row">
  6. <div class="col-md-12">
  7. <br>
  8. <a class="btn btn-success float-right" href="firm.php"><i class="fas fa-plus"></i> Nouvel établissement</a>
  9. <h3>Établissements</h3>
  10. <div class="clear"></div>
  11. <hr/>
  12. <div class="panel panel-default">
  13. <div class="panel-heading">Établissements existants :</div><br>
  14. <table id="firms" class="table table-striped ">
  15. <thead>
  16. <tr>
  17. <th>#</th>
  18. <th></th>
  19. <th>Raison sociale</th>
  20. <th>Description</th>
  21. <th>Téléphone</th>
  22. <th>Adresse</th>
  23. <th></th>
  24. </tr>
  25. </thead>
  26. <tbody>
  27. <tr data-id="{{id}}" class="hidden">
  28. <td>{{id}}</td>
  29. <td>{{#logo}}<img class="avatar-mini" data-src="{{logo}}"/>{{/logo}}</td>
  30. <td>{{label}}</td>
  31. <td>{{description}}</td>
  32. <td>{{phone}}</td>
  33. <td>{{address}}</td>
  34. <td class="text-right">
  35. <div onclick="edit_firm(this)" class="btn btn-info btn-squarred btn-mini"><i class="fas fa-pencil-alt"></i></div>
  36. <div onclick="delete_firm(this)" class="btn btn-danger btn-squarred btn-mini"><i class="fas fa-times"></i></div>
  37. </td>
  38. </tr>
  39. </tbody>
  40. </table>
  41. </div>
  42. </div>
  43. </div>