Skip to content

Commit

Permalink
Tilinpäätöksen vahvistamisesta oma kohtansa
Browse files Browse the repository at this point in the history
  • Loading branch information
artoh committed Jan 15, 2024
1 parent cf7bea3 commit 1aeb3a4
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 27 deletions.
3 changes: 3 additions & 0 deletions kitsas/arkisto/tilinpaattaja.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,5 +283,8 @@ void TilinPaattaja::dataSaapuu(QVariant *data)
ui->yksityistiliButton->setEnabled(!kppaattyy && lukittu);
ui->yksityistilitStop->setVisible(kppaattyy);
ui->yksityistilitStopLabel->setVisible(kppaattyy);
if( muoto == "tmi") {
ui->vahvistaLabel->setText(tr("11. Lukitse tilinpäätös"));
}

}
78 changes: 52 additions & 26 deletions kitsas/arkisto/tilinpaattaja.ui
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ Kirjanpito ei täsmää. Tee tiliöinnit ennen tilinpäätöksen jatkamista.</st
<item>
<widget class="QGroupBox" name="paatosRyhma">
<property name="title">
<string>Tilinpäätös</string>
<string>Tilinpäätöksen laatiminen</string>
</property>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
Expand Down Expand Up @@ -481,30 +481,6 @@ Kirjanpito ei täsmää. Tee tiliöinnit ennen tilinpäätöksen jatkamista.</st
</item>
</layout>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_8">
<property name="text">
<string>10. Vahvista tilinpäätös</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QPushButton" name="vahvistaNappi">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>&amp;Vahvista ...</string>
</property>
<property name="icon">
<iconset resource="../pic/pic.qrc">
<normaloff>:/pic/allekirjoitus.png</normaloff>:/pic/allekirjoitus.png</iconset>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
Expand All @@ -517,7 +493,7 @@ Kirjanpito ei täsmää. Tee tiliöinnit ennen tilinpäätöksen jatkamista.</st
<item row="0" column="0">
<widget class="QLabel" name="yksityistiliLabel">
<property name="text">
<string>11. Päätä yksityistilit peruspääomaan </string>
<string>10. Päätä yksityistilit peruspääomaan </string>
</property>
</widget>
</item>
Expand Down Expand Up @@ -595,6 +571,56 @@ Kirjanpito ei täsmää. Tee tiliöinnit ennen tilinpäätöksen jatkamista.</st
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Tilinpäätöksen vahvistaminen</string>
</property>
<layout class="QFormLayout" name="formLayout_3">
<item row="0" column="0">
<widget class="QLabel" name="vahvistaLabel">
<property name="text">
<string>10. Vahvista tilinpäätös</string>
</property>
</widget>
</item>
<item row="0" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_10">
<item>
<widget class="QPushButton" name="vahvistaNappi">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>&amp;Vahvista ja lukitse tilinpäätös ...</string>
</property>
<property name="icon">
<iconset resource="../pic/pic.qrc">
<normaloff>:/pic/lukittu.png</normaloff>:/pic/lukittu.png</iconset>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_6">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
Expand Down
2 changes: 1 addition & 1 deletion kitsas/versio.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
*/

#define KITSAS_VERSIO "5.3-RC"
#define KITSAS_BUILD "M"
#define KITSAS_BUILD "O"

// #define KITSAS_PORTABLE // Windowsin Portable-versiossa (ei asenneta)
// #define KITSAS_DEVEL
Expand Down

0 comments on commit 1aeb3a4

Please sign in to comment.