<div class="row produced-appended-data-rows">
    <div class="col-md-4 pointer-none">
        <div class="form-group">
            <select class="form-control chosen-select appended-chosen" name="produced_item[]">
                <option disabled="" selected="">-- <?= print_lang($app_lang,'mod_production_raw_relation_add_input_produced_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-2">
        <div class="form-group">
            <input type="text" class="form-control" value="<?= $qty; ?>" name="produced_qty[]" placeholder="<?= print_lang($app_lang,'mod_production_raw_relation_add_input_qty'); ?>">
        </div>
    </div>

    <div class="col-md-2">
        <div class="form-group">
            <input type="text" class="form-control" name="cost_percentage[]" value="<?= $cost; ?>" placeholder="<?= print_lang($app_lang,'mod_production_raw_relation_add_input_percentage'); ?>">
        </div>
    </div>

    <div class="col-md-4">
        <button class="btn btn-danger produced-items-del-btn" type="button"><?= print_lang($app_lang,'mod_production_raw_relation_add_remove'); ?></button>
    </div>
</div>