<div class="input-group input-group-sm customerInput">
	<?php 
	$order_info = auth('order_info') ?? [];
	$selected_customer_id = $customer_id ?? ($order_info['customer_id'] ?? null); 
	?>
	<select name="customer_id" class="form-control select2" id="customer_id">
		<option value="0"><?= !empty(lang('walk-in-customer')) ? lang('walk-in-customer') : "Walk in customer"; ?></option>
		<?php foreach ($customer_list as $cs): ?>
			<option value="<?= $cs['id']; ?>" <?= $selected_customer_id == $cs['id'] ? 'selected' : '' ?>>
				<?= $cs['customer_name']; ?> (<b class="opacity_0"><?= $cs['phone']; ?></b>)
			</option>
		<?php endforeach; ?>
	</select>
	<span class="input-group-btn">
		<button type="button" href="#addCustomerModal" data-toggle="modal" class="btn btn-success-light btn-flat input-btn"><i class="fa fa-user-plus"></i></button>

	</span>
</div>