main.html 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <div class="row marketing">
  2. <div class="col-md-7">
  3. <table class="table table-striped">
  4. <tr>
  5. <th></th>
  6. <th>ID</th>
  7. <th>Datum</th>
  8. <th>Ort</th>
  9. <th>Aktiv</th>
  10. </tr>
  11. <tr ng-repeat="p in projects ">
  12. <td><button type="button" class="btn" data-toggle="modal" data-target="#projectModal" ng-click="loadInvoice(invoice.invoice_number)"><i class="glyphicon glyphicon-pencil"></i></button></td>
  13. <td>
  14. {{p.project_id}}
  15. </td>
  16. <td>
  17. {{p.event_date|datum2}}
  18. </td>
  19. <td>
  20. {{p.event_location}}
  21. </td>
  22. <td>
  23. <button type="button" class="btn btn-warning" ng-show="p.active==0"><i class="glyphicon glyphicon-print"></i></button>
  24. <button type="button" class="btn btn-success" ng-show="p.active==1"><i class="glyphicon glyphicon-check"></i></button>
  25. </td>
  26. </tr>
  27. </table>
  28. </div>
  29. <form class="form-horizontal">
  30. <div class="form-group">
  31. <label for="projects" class="col-sm-2 control-label">Vorhandene Projekte</label>
  32. <select id="projects" multiple class="form-control" ng-model="projects" >
  33. </select>
  34. </div>
  35. <div class="form-group">
  36. <label for="date" class="col-sm-2 control-label">Datum</label>
  37. <div class="col-sm-6">
  38. <input id="date" type="date" class="form-control" ng-model="newProject.Date" />
  39. </div>
  40. </div>
  41. <div class="form-group">
  42. <label for="description" class="col-sm-2 control-label">Bezeichnung</label>
  43. <div class="col-sm-6">
  44. <input id="description" type="text" class="form-control" ng-model="newProject.Description" />
  45. </div>
  46. </div>
  47. <div class="form-group">
  48. <label for="count" class="col-sm-2 control-label">Anzahl Kassen</label>
  49. <div class="col-sm-1">
  50. {{newProject.Count}}
  51. </div>
  52. <div class="col-sm-5">
  53. <input id="count" type="range" min="1" max="10" class="form-control" ng-model="newProject.Count" />
  54. </div>
  55. </div>
  56. <div class="form-group">
  57. <div class="col-sm-offset-2 col-sm-6">
  58. <button class="btn btn-default" ng-click="generateProject()">Neues Projekt erstellen</button>
  59. </div>
  60. </div>
  61. </form>
  62. <div ng-repeat="pos in newProject.PointsOfSale">
  63. <h3>Kasse {{$index+1}}</h3>
  64. <svg class="barcode" data-format="auto" data-value="http://rbs02/#!/pos/{{$index+1}}/"></svg>
  65. </div>
  66. </div>