123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- <form id="order_option_form" method="POST">
- <header>
- <h2><?php echo $tab_name_3_1;?></h2>
- </header>
-
- <div>
- <fieldset>
-
- <legend id="sync_orders_as_legend" class="desc">
- <?php echo $sync_orders_as; ?>
- </legend>
-
- <div>
- <?php foreach($syncOrdersAs as $syncOrdersAsElement): ?>
- <div>
- <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']; ?>"
- <?php if($syncOrdersAsElement['id'] == $option['fsync_option_syncordersas']): ?>
- checked="checked"
- <?php endif; ?>
- >
- <label class="choice" for="fsync_option_syncordersas<?php echo $syncOrdersAsElement['id'];?>"><?php echo $syncOrdersAsElement['label']; ?></label>
- </div>
- <?php endforeach; ?>
- </div>
- </fieldset>
- </div>
- <div>
- <label class="desc" id="fsync_option_proformaserie_label" for="fsync_option_proformaserie"><?php echo $proforma_series;?></label>
- <div>
- <input id="fsync_option_proformaserie" name="fsync_option_proformaserie" type="text" class="field text fn" value="<?php echo $option['fsync_option_proformaserie']; ?>">
- <div id="fsync_option_proformaserie_error" class="red hide"><small><?php echo $option_proformaserie_error;?></small></div>
- </div>
- </div>
- <div>
- <label class="desc" id="fsync_option_daysago_label" for="fsync_option_daysago"><?php echo $days_ago;?></label>
- <div>
- <input id="fsync_option_daysago" name="fsync_option_daysago" type="text" class="field text fn" value="<?php echo $option['fsync_option_daysago']; ?>">
- <div id="fsync_option_daysago_error" class="red hide"><small><?php echo $option_daysago_error;?></small></div>
- </div>
- </div>
-
- <div>
- <fieldset>
-
- <legend id="auto_order_sync_legend" class="desc">
- <?php echo $auto_order_sync; ?>
- </legend>
-
- <div>
- <?php foreach($autoSyncOptions as $autoSyncOptionsElement): ?>
- <div>
- <input id="fsync_option_autosyncorder<?php echo $autoSyncOptionsElement['id']; ?>" name="fsync_option_autosyncorder" type="radio" value="<?php echo $autoSyncOptionsElement['id']; ?>"
- <?php if($autoSyncOptionsElement['id'] == $option['fsync_option_autosyncorder']): ?>
- checked="checked"
- <?php endif; ?>
- >
- <label class="choice" for="fsync_option_autosyncorder<?php echo $autoSyncOptionsElement['id'];?>"><?php echo $autoSyncOptionsElement['label']; ?></label>
- </div>
- <?php endforeach; ?>
- </div>
- </fieldset>
- </div>
-
- <div>
- <fieldset>
-
- <legend id="" class="desc">
- <?php echo $with_discount; ?> <br/><small class="text-muted"><?php echo $with_discount_desc; ?></small>
- </legend>
-
- <div>
- <?php foreach($withDiscountOptions as $withDiscountOptionsElement): ?>
- <div>
- <input id="fsync_option_withdiscount<?php echo $withDiscountOptionsElement['id']; ?>" name="fsync_option_withdiscount" type="radio" value="<?php echo $withDiscountOptionsElement['id']; ?>"
- <?php if($withDiscountOptionsElement['id'] == $option['fsync_option_withdiscount']): ?>
- checked="checked"
- <?php endif; ?>
- >
- <label class="choice" for="fsync_option_withdiscount<?php echo $withDiscountOptionsElement['id'];?>"><?php echo $withDiscountOptionsElement['label']; ?></label>
- </div>
- <?php endforeach; ?>
- </div>
- </fieldset>
- </div>
-
- <div class="center">
- <input type="hidden" name="action" value="save" />
- </div>
- <div class="center">
- <a href="javascript: void(0)" onclick="submitOrderOptionForm();" class="btn btn-green" id="save-oo-btn" ><?php echo $save_btn;?></a>
- </div>
-
- </form>
|