123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- <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="option_pdls_legend" for="option_pdls">
- <?php echo $filter_pdls; ?>
- </label>
- <div>
- <select id="fsync_option_pdls" name="fsync_option_pdls" class="field select medium">
- <option value=""><?php echo $loading_data_please_wait; ?></option>
- </select>
- <input type="hidden" id="fsync_option_pdls_hidden" value="<?php echo $option['fsync_option_pdls']; ?>" />
- </div>
- </div>
- <div>
- <label class="desc" id="fsync_option_avizeserie_label" for="fsync_option_avizeserie"><?php echo $avize_series;?></label>
- <div>
- <input id="fsync_option_avizeserie" name="fsync_option_avizeserie" type="text" class="field text fn" value="<?php echo $option['fsync_option_avizeserie']; ?>">
- <div id="fsync_option_avizeserie_error" class="red hide"><small><?php echo $option_avizeserie_error;?></small></div>
- </div>
- </div>
- <div>
- <label class="desc" id="fsync_option_expfacturaserie_label" for="fsync_option_expfacturaserie"><?php echo $expfactura_series;?></label>
- <div>
- <input id="fsync_option_expfacturaserie" name="fsync_option_expfacturaserie" type="text" class="field text fn" value="<?php echo $option['fsync_option_expfacturaserie']; ?>">
- <div id="fsync_option_expfacturaserie_error" class="red hide"><small><?php echo $option_expfacturaserie_error;?></small></div>
- </div>
- </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>
|