<div class="row raw-appended-data-rows">
    <div class="col-md-4 pointer-none">
        <div class="form-group">
            <select class="form-control chosen-select appended-chosen cv-required" name="raw_item[]">
                <option disabled="" selected="">-- <?= print_lang($app_lang,'mod_production_relation_add_input_raw_item'); ?> --</option>
                <?php foreach($items as $row){ ?>
                    <option <?php if($item == $row['uid']){echo "selected='selected'";}?> value="<?= $row['uid']; ?>"><?= $row['name']; ?> (<?= $row['item_id']; ?>) (<?= $row['purchase_unit_name']; ?>)</option>
                <?php } ?>
            </select>
        </div>
    </div>
    <div class="col-md-4">
        <div class="form-group">
            <input type="text" class="form-control cv-required" value="<?= $qty; ?>" name="raw_qty[]" placeholder="<?= print_lang($app_lang,'mod_production_relation_add_input_qty'); ?>">
        </div>
    </div>
    <div class="col-md-4">
        <button class="btn btn-danger raw-items-del-btn" type="button"><?= print_lang($app_lang,'mod_production_relation_add_remove'); ?></button>
    </div>
</div>