diff --git a/shop/shopform.cpp b/shop/shopform.cpp index afe8098..f5442be 100644 --- a/shop/shopform.cpp +++ b/shop/shopform.cpp @@ -46,6 +46,10 @@ void ShopForm::loadLast() m_itemsModel->setTranslations(Context::instance().plugin("SHOP")->translations()); ui->actualReceipt->setModel(m_itemsModel); ui->actualReceipt->setColumnHidden(0, true); + ui->actualReceipt->setColumnHidden(3, true); + ui->actualReceipt->setColumnHidden(4, true); + ui->actualReceipt->setColumnHidden(5, true); + ui->actualReceipt->setColumnHidden(6, true); ui->actualReceipt->horizontalHeader()->setSectionResizeMode(1, QHeaderView::Stretch); } diff --git a/shop/shopform.ui b/shop/shopform.ui index 380e31b..9c02e50 100644 --- a/shop/shopform.ui +++ b/shop/shopform.ui @@ -153,25 +153,31 @@ + + + + + + + Receipt + + + + + + + + + + + + - - - - Receipt - - - - - - - - - @@ -376,8 +382,8 @@ - +