<?php 
if (isset($receiptProduct) && is_object($receiptProduct)) {
    ?>
                    value="<?php 
    echo $receiptProduct->product->name;
    ?>
"
                <?php 
}
?>
            >
        </div>
    </td>
    <td class="selectize">
        <?php 
echo \yii\bootstrap\Html::dropDownList("Product[{$number}][category]", isset($receiptProduct) ? $receiptProduct->product->category_id : '', \common\models\Category::getReceiptCategories(), ['class' => 'selectize']);
?>
    </td>
    <td class="selectize">
        <div class="input-group" style="width: 100%">
            <?php 
echo \yii\bootstrap\Html::dropDownList("Product[{$number}][unit]", isset($receiptProduct) ? $receiptProduct->product->product_unit_id : '', \common\models\ProductUnit::getAll(), ['prompt' => \Yii::t('wallet', 'Select unit'), 'class' => 'selectize']);
?>
        </div>
    </td>
    <td>
        <div class="spinner">
            <div class="input-group">
                <input
                    type="text"
                    id="product-count-<?php