<script>
    $(document).ready(function (){

        $('#description-input').on('input paste', function (){
            let description = $(this).val();
            $('#description-label').addClass('error');
            if(description != ""){
                $('#description-label').removeClass('error');
            }
        });
    });
</script>

<?php echo Form::open(['action'=>['Modules\InventoryDashboardController@storeCreateNewPurchaseOrder'],'method'=>'POST', 'id'=>'create-new-purchase-order']); ?>

<div class="error" style="text-align: center;">On this Window, You can add a New Inventory Item</div>
<div class="guestDetails_inputDivider"></div>
<button type="submit" disabled style="display: none" aria-hidden="true"></button>
<div class="guestDetails_input">
    <div class="guestDetails_inputLabel">
        <?php echo Form::label('item-name', 'Enter Name/Description of Purchase Order', ['id'=>'description-label', 'class'=>'error']); ?> <span class="error">*</span>
    </div>
    <div class="guestDetails_input">
        <?php echo Form::text('description', '', ['id'=>'description-input','class'=>'input-text-height', 'size'=>100]); ?>

    </div>
</div>
<?php echo Form::close(); ?>

<?php /**PATH /home/zedarroot/public_html/edwulp/resources/views/inventory/create-new-purchase-order.blade.php ENDPATH**/ ?>