tamir.php 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <?php import::view('header'); ?>
  2. <div class="panel panel-primary">
  3. <div class="panel-heading">
  4. Tamirlerim
  5. </div>
  6. <div class="panel-body">
  7. <div class="table-responsive">
  8. <?php if ($liste){ ?>
  9. <table class="table table-bordered table-condensed">
  10. <thead class="ortala">
  11. <tr >
  12. <th width="73">Geliş Tarihi</th>
  13. <th width="73">Teslim Tarihi</th>
  14. <th>Cihazın Türü</th>
  15. <th>Marka Model</th>
  16. <th>Şikayeti</th>
  17. <th>Tespitler</th>
  18. <th>Yapılan Tamir</th>
  19. <th width="50">Ücreti</th>
  20. <th width="50">Alınan Ücret</th>
  21. </tr>
  22. </thead>
  23. <tbody class="ortala">
  24. <?php foreach ($liste as $key): ?>
  25. <tr >
  26. <td><?php echo tcevir($key->gelistarihi); ?></td>
  27. <td><?php echo tcevir($key->teslimtarihi); ?></td>
  28. <td><?php echo $key->turu; ?></td>
  29. <td><?php echo $key->marka; ?></td>
  30. <td><?php echo $key->sikayeti; ?></td>
  31. <td><?php echo $key->tespit; ?></td>
  32. <td><?php echo $key->tamir; ?></td>
  33. <td><?php echo $key->ucret.' TL'; ?></td>
  34. <td><?php echo $key->alinanucret.' TL'; ?></td>
  35. </tr>
  36. <?php endforeach ?>
  37. </tbody>
  38. </table>
  39. <?php }else{ ?>
  40. <h3>Kartal elektronikte tamirde olan bir cihazınız bulunmamaktadır... </h3>
  41. <h4>Kargo ücretleri müşteriye aittir.<br>Dükkanımızda servis ücreti yoktur. </h4>
  42. <?php } ?>
  43. </div>
  44. </div>
  45. </div>
  46. <?php import::view('footer'); ?>