?> " name="wps-pos-product-to-choose" class="wps-pos-product-search" /> <button class="wps-bton-first-rounded" id="wpspos-product-search" ><i class="dashicons dashicons-search" ></i></button> <label style="margin-left: 50px;" > <?php $only_barcode = ''; $option = 'wps_pos_options'; $values = get_option($option); if (empty($values['only_barcode']) || $values['only_barcode'] == 'checked') { $only_barcode = 'checked="checked"'; } ?> <input type="checkbox" value="only_barcode" name="wps-pos-search-in" <?php echo $only_barcode; ?> /> <?php _e('Search only in barcode', 'wps-pos-i18n'); ?> </label> </div> <div class="wps-pos-product-selection-alert-box wps-alert hidden" ></div> <div class="wps-pos-element-listing-container wps-pos-product-listing wps-bloc-loader" ><?php echo $this->get_product_table_by_alphabet($letters_having_products[0]); ?> </div> <div class="wps-pos-alphabet-container" ><?php echo wps_pos_tools::alphabet_letters('product', $available_letters, $letters_having_products[0]); ?> </div>
<div class="wps-pos-element-metabox-selection wps-pos-element-metabox-selection-customer" ><input type="text" value="" placeholder="<?php _e('Start typing here for customer search', 'wps-pos-i18n'); ?> " name="wps-pos-customer-to-choose" class="wps-pos-customer-search" /></div> <div class="wps-pos-element-listing-container wps-pos-customer-listing wps-bloc-loader" ><?php echo $this->display_customer_list('A'); ?> </div> <div class="wps-pos-alphabet-container" ><?php echo wps_pos_tools::alphabet_letters('customer', $available_letters, 'A'); ?> </div> <script type="text/javascript" > jQuery( document ).ready( function(){ jQuery( "#wps-pos-customer-list-choice" ).chosen(); }); </script>