tab3.php 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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="option_pdls_legend" for="option_pdls">
  26. <?php echo $filter_pdls; ?>
  27. </label>
  28. <div>
  29. <select id="fsync_option_pdls" name="fsync_option_pdls" class="field select medium">
  30. <option value=""><?php echo $loading_data_please_wait; ?></option>
  31. </select>
  32. <input type="hidden" id="fsync_option_pdls_hidden" value="<?php echo $option['fsync_option_pdls']; ?>" />
  33. </div>
  34. </div>
  35. <div>
  36. <label class="desc" id="fsync_option_avizeserie_label" for="fsync_option_avizeserie"><?php echo $avize_series;?></label>
  37. <div>
  38. <input id="fsync_option_avizeserie" name="fsync_option_avizeserie" type="text" class="field text fn" value="<?php echo $option['fsync_option_avizeserie']; ?>">
  39. <div id="fsync_option_avizeserie_error" class="red hide"><small><?php echo $option_avizeserie_error;?></small></div>
  40. </div>
  41. </div>
  42. <div>
  43. <label class="desc" id="fsync_option_expfacturaserie_label" for="fsync_option_expfacturaserie"><?php echo $expfactura_series;?></label>
  44. <div>
  45. <input id="fsync_option_expfacturaserie" name="fsync_option_expfacturaserie" type="text" class="field text fn" value="<?php echo $option['fsync_option_expfacturaserie']; ?>">
  46. <div id="fsync_option_expfacturaserie_error" class="red hide"><small><?php echo $option_expfacturaserie_error;?></small></div>
  47. </div>
  48. </div>
  49. <div>
  50. <label class="desc" id="fsync_option_proformaserie_label" for="fsync_option_proformaserie"><?php echo $proforma_series;?></label>
  51. <div>
  52. <input id="fsync_option_proformaserie" name="fsync_option_proformaserie" type="text" class="field text fn" value="<?php echo $option['fsync_option_proformaserie']; ?>">
  53. <div id="fsync_option_proformaserie_error" class="red hide"><small><?php echo $option_proformaserie_error;?></small></div>
  54. </div>
  55. </div>
  56. <div>
  57. <label class="desc" id="fsync_option_daysago_label" for="fsync_option_daysago"><?php echo $days_ago;?></label>
  58. <div>
  59. <input id="fsync_option_daysago" name="fsync_option_daysago" type="text" class="field text fn" value="<?php echo $option['fsync_option_daysago']; ?>">
  60. <div id="fsync_option_daysago_error" class="red hide"><small><?php echo $option_daysago_error;?></small></div>
  61. </div>
  62. </div>
  63. <div>
  64. <fieldset>
  65. <legend id="auto_order_sync_legend" class="desc">
  66. <?php echo $auto_order_sync; ?>
  67. </legend>
  68. <div>
  69. <?php foreach($autoSyncOptions as $autoSyncOptionsElement): ?>
  70. <div>
  71. <input id="fsync_option_autosyncorder<?php echo $autoSyncOptionsElement['id']; ?>" name="fsync_option_autosyncorder" type="radio" value="<?php echo $autoSyncOptionsElement['id']; ?>"
  72. <?php if($autoSyncOptionsElement['id'] == $option['fsync_option_autosyncorder']): ?>
  73. checked="checked"
  74. <?php endif; ?>
  75. >
  76. <label class="choice" for="fsync_option_autosyncorder<?php echo $autoSyncOptionsElement['id'];?>"><?php echo $autoSyncOptionsElement['label']; ?></label>
  77. </div>
  78. <?php endforeach; ?>
  79. </div>
  80. </fieldset>
  81. </div>
  82. <div>
  83. <fieldset>
  84. <legend id="" class="desc">
  85. <?php echo $with_discount; ?> <br/><small class="text-muted"><?php echo $with_discount_desc; ?></small>
  86. </legend>
  87. <div>
  88. <?php foreach($withDiscountOptions as $withDiscountOptionsElement): ?>
  89. <div>
  90. <input id="fsync_option_withdiscount<?php echo $withDiscountOptionsElement['id']; ?>" name="fsync_option_withdiscount" type="radio" value="<?php echo $withDiscountOptionsElement['id']; ?>"
  91. <?php if($withDiscountOptionsElement['id'] == $option['fsync_option_withdiscount']): ?>
  92. checked="checked"
  93. <?php endif; ?>
  94. >
  95. <label class="choice" for="fsync_option_withdiscount<?php echo $withDiscountOptionsElement['id'];?>"><?php echo $withDiscountOptionsElement['label']; ?></label>
  96. </div>
  97. <?php endforeach; ?>
  98. </div>
  99. </fieldset>
  100. </div>
  101. <div class="center">
  102. <input type="hidden" name="action" value="save" />
  103. </div>
  104. <div class="center">
  105. <a href="javascript: void(0)" onclick="submitOrderOptionForm();" class="btn btn-green" id="save-oo-btn" ><?php echo $save_btn;?></a>
  106. </div>
  107. </form>