
<?php $__env->startSection('title', 'Add Item'); ?>
<?php $__env->startPush('plugin-styles'); ?>
<style>
    .select2-container .select2-selection--single{
        height: 45px !important;
    }
</style>
<?php $__env->stopPush(); ?>
<?php $__env->startSection('content'); ?>
<div class="card">
	<div class="card-body">
		<h6 class="card-title mb-3">Add Item</h6>
		<?php if($errors->any()): ?>
			<div class="alert alert-danger"><?php echo e(print_r($errors->all())); ?></div>
		<?php endif; ?>
		<?php echo $__env->make('items.form', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
	</div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startPush('plugin-scripts'); ?>
<script>
 $(document).ready(function(){
    $('#uom_id').select2({
		placeholder: 'Select Unit of Measure',
		allowClear: true,
		dropdownParent: $('#uom_id').parent()
	});
    $('#status').select2({
		placeholder: 'Select Status',
		// allowClear: true,
		dropdownParent: $('#status').parent()
	});
    $('#category_id').select2({
		placeholder: 'Select Category',
		// allowClear: true,
		dropdownParent: $('#category_id').parent()
	});
 });
</script>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\laragon\www\habibcables-ERP\resources\views\items\create.blade.php ENDPATH**/ ?>