tab3.php 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <form id="order_option_form" method="POST">
  2. <header>
  3. <h2><?php echo $tab_name_3_1;?></h2>
  4. </header>
  5. <div>
  6. <fieldset>
  7. <legend id="sync_orders_as_legend" class="desc">
  8. <?php echo $sync_orders_as; ?>
  9. </legend>
  10. <div>
  11. <?php foreach($syncOrdersAs as $syncOrdersAsElement): ?>
  12. <div>
  13. <input id="fsync_option_syncordersas<?php echo $syncOrdersAsElement['id']; ?>" onclick="showOrHideProformaSerie();" class="fsync_option_syncordersas" name="fsync_option_syncordersas" type="radio" value="<?php echo $syncOrdersAsElement['id']; ?>"
  14. <?php if($syncOrdersAsElement['id'] == $option['fsync_option_syncordersas']): ?>
  15. checked="checked"
  16. <?php endif; ?>
  17. >
  18. <label class="choice" for="fsync_option_syncordersas<?php echo $syncOrdersAsElement['id'];?>"><?php echo $syncOrdersAsElement['label']; ?></label>
  19. </div>
  20. <?php endforeach; ?>
  21. </div>
  22. </fieldset>
  23. </div>
  24. <div>
  25. <label class="desc" id="fsync_option_proformaserie_label" for="fsync_option_proformaserie"><?php echo $proforma_series;?></label>
  26. <div>
  27. <input id="fsync_option_proformaserie" name="fsync_option_proformaserie" type="text" class="field text fn" value="<?php echo $option['fsync_option_proformaserie']; ?>">
  28. <div id="fsync_option_proformaserie_error" class="red hide"><small><?php echo $option_proformaserie_error;?></small></div>
  29. </div>
  30. </div>
  31. <div>
  32. <label class="desc" id="fsync_option_daysago_label" for="fsync_option_daysago"><?php echo $days_ago;?></label>
  33. <div>
  34. <input id="fsync_option_daysago" name="fsync_option_daysago" type="text" class="field text fn" value="<?php echo $option['fsync_option_daysago']; ?>">
  35. <div id="fsync_option_daysago_error" class="red hide"><small><?php echo $option_daysago_error;?></small></div>
  36. </div>
  37. </div>
  38. <div>
  39. <fieldset>
  40. <legend id="auto_order_sync_legend" class="desc">
  41. <?php echo $auto_order_sync; ?>
  42. </legend>
  43. <div>
  44. <?php foreach($autoSyncOptions as $autoSyncOptionsElement): ?>
  45. <div>
  46. <input id="fsync_option_autosyncorder<?php echo $autoSyncOptionsElement['id']; ?>" name="fsync_option_autosyncorder" type="radio" value="<?php echo $autoSyncOptionsElement['id']; ?>"
  47. <?php if($autoSyncOptionsElement['id'] == $option['fsync_option_autosyncorder']): ?>
  48. checked="checked"
  49. <?php endif; ?>
  50. >
  51. <label class="choice" for="fsync_option_autosyncorder<?php echo $autoSyncOptionsElement['id'];?>"><?php echo $autoSyncOptionsElement['label']; ?></label>
  52. </div>
  53. <?php endforeach; ?>
  54. </div>
  55. </fieldset>
  56. </div>
  57. <div>
  58. <fieldset>
  59. <legend id="" class="desc">
  60. <?php echo $with_discount; ?> <br/><small class="text-muted"><?php echo $with_discount_desc; ?></small>
  61. </legend>
  62. <div>
  63. <?php foreach($withDiscountOptions as $withDiscountOptionsElement): ?>
  64. <div>
  65. <input id="fsync_option_withdiscount<?php echo $withDiscountOptionsElement['id']; ?>" name="fsync_option_withdiscount" type="radio" value="<?php echo $withDiscountOptionsElement['id']; ?>"
  66. <?php if($withDiscountOptionsElement['id'] == $option['fsync_option_withdiscount']): ?>
  67. checked="checked"
  68. <?php endif; ?>
  69. >
  70. <label class="choice" for="fsync_option_withdiscount<?php echo $withDiscountOptionsElement['id'];?>"><?php echo $withDiscountOptionsElement['label']; ?></label>
  71. </div>
  72. <?php endforeach; ?>
  73. </div>
  74. </fieldset>
  75. </div>
  76. <div class="center">
  77. <input type="hidden" name="action" value="save" />
  78. </div>
  79. <div class="center">
  80. <a href="javascript: void(0)" onclick="submitOrderOptionForm();" class="btn btn-green" id="save-oo-btn" ><?php echo $save_btn;?></a>
  81. </div>
  82. </form>