From 50ac5238da5928043d5fe2281a52599fb42899cc Mon Sep 17 00:00:00 2001 From: Zdenek Jonak Date: Thu, 8 Jun 2017 22:16:18 +0200 Subject: [PATCH] Added new settings for program owner (web,email, phone) --- core/reporting/variablefiller.cpp | 3 + core/reporting/variablefiller.h | 3 + core/settings/globalsettings.cpp | 30 + core/settings/globalsettings.h | 16 + core/settings/globalsettingsform.cpp | 3 + core/settings/globalsettingsform.ui | 32 +- reports/camp_accommodation_document.lrxml | 5001 +++++++++--------- reports/camp_accommodation_document_en.lrxml | 5001 +++++++++--------- 8 files changed, 5336 insertions(+), 4753 deletions(-) diff --git a/core/reporting/variablefiller.cpp b/core/reporting/variablefiller.cpp index 5ae0a8f..9d16692 100644 --- a/core/reporting/variablefiller.cpp +++ b/core/reporting/variablefiller.cpp @@ -25,6 +25,9 @@ void VariableFiller::fill(ReportPtr report, int recordId) vars[IC] = QString::number(m_settings->ic()); vars[DIC] = m_settings->dic(); vars[LOGO_PATH] = m_settings->logoPath(); + vars[WEB] = m_settings->web(); + vars[EMAIL] = m_settings->email(); + vars[PHONE] = m_settings->phone(); if (recordId > 0) { diff --git a/core/reporting/variablefiller.h b/core/reporting/variablefiller.h index e410747..e263404 100644 --- a/core/reporting/variablefiller.h +++ b/core/reporting/variablefiller.h @@ -14,6 +14,9 @@ #define DIC "DIC" #define LOGO_PATH "LOGO_PATH" #define RECORD_ID "RECORD_ID" +#define WEB "WEB" +#define EMAIL "EMAIL" +#define PHONE "PHONE" class CORESHARED_EXPORT VariableFiller { diff --git a/core/settings/globalsettings.cpp b/core/settings/globalsettings.cpp index 9256782..6bd5397 100644 --- a/core/settings/globalsettings.cpp +++ b/core/settings/globalsettings.cpp @@ -126,5 +126,35 @@ void GlobalSettings::setVatSecondLower(QDecDouble vatSecondLower) m_vatSecondLower = FROM_DEC(vatSecondLower); } +QString GlobalSettings::email() const +{ + return m_email; +} + +void GlobalSettings::setEmail(const QString &email) +{ + m_email = email; +} + +QString GlobalSettings::web() const +{ + return m_web; +} + +void GlobalSettings::setWeb(const QString &web) +{ + m_web = web; +} + +QString GlobalSettings::phone() const +{ + return m_phone; +} + +void GlobalSettings::setPhone(const QString &phone) +{ + m_phone = phone; +} + diff --git a/core/settings/globalsettings.h b/core/settings/globalsettings.h index 14e6933..558bab0 100644 --- a/core/settings/globalsettings.h +++ b/core/settings/globalsettings.h @@ -22,6 +22,10 @@ class CORESHARED_EXPORT GlobalSettings : public QObject Q_PROPERTY(QDecDouble vatHigh READ vatHigh WRITE setVatHigh) Q_PROPERTY(QDecDouble vatFirstLower READ vatFirstLower WRITE setVatFirstLower) Q_PROPERTY(QDecDouble vatSecondLower READ vatSecondLower WRITE setVatSecondLower) + Q_PROPERTY(QString email READ email WRITE setEmail) + Q_PROPERTY(QString web READ web WRITE setWeb) + Q_PROPERTY(QString phone READ phone WRITE setPhone) + public: explicit GlobalSettings(QObject *parent = 0); @@ -61,6 +65,15 @@ public: QDecDouble vatSecondLower() const; void setVatSecondLower(QDecDouble vatSecondLower); + QString email() const; + void setEmail(const QString &email); + + QString web() const; + void setWeb(const QString &web); + + QString phone() const; + void setPhone(const QString &phone); + private: QString m_firmName; QString m_street; @@ -74,6 +87,9 @@ private: int m_vatHigh; int m_vatFirstLower; int m_vatSecondLower; + QString m_email; + QString m_web; + QString m_phone; signals: diff --git a/core/settings/globalsettingsform.cpp b/core/settings/globalsettingsform.cpp index 834ce6e..78aa3f4 100644 --- a/core/settings/globalsettingsform.cpp +++ b/core/settings/globalsettingsform.cpp @@ -28,6 +28,9 @@ GlobalSettingsForm::GlobalSettingsForm(QWidget *parent) : registerBinding(ui->vatHigh); registerBinding(ui->vatFirstLower); registerBinding(ui->vatSecondLower); + registerBinding(ui->web); + registerBinding(ui->email); + registerBinding(ui->phone); m_seriesModel = new AutoTableModel(this); m_seriesModel->setEditableCols(QList() << 0); diff --git a/core/settings/globalsettingsform.ui b/core/settings/globalsettingsform.ui index b73cfad..fa04652 100644 --- a/core/settings/globalsettingsform.ui +++ b/core/settings/globalsettingsform.ui @@ -7,7 +7,7 @@ 0 0 759 - 552 + 557 @@ -89,6 +89,36 @@ + + + + + + + + + + + + + Web + + + + + + + E-mail + + + + + + + Phone + + + diff --git a/reports/camp_accommodation_document.lrxml b/reports/camp_accommodation_document.lrxml index 7c627d4..829a9b4 100644 --- a/reports/camp_accommodation_document.lrxml +++ b/reports/camp_accommodation_document.lrxml @@ -1,2695 +1,2929 @@ - + - + page1 - - - - - - - + + + + + + + ReportPage1 - + - + ReportHeader1 - + - + TextItem2 - + - - + + ReportHeader1 - - - - - - + + + + + + $V{COMPANY} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem1 - + - - + + ReportHeader1 - - - - - - + + + + + + IČO: $V{IC} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem13 - + - - + + ReportHeader1 - - - - - - + + + + + + DIČ: $V{DIC} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem14 - + - - + + ReportHeader1 - - - - - - + + + + + + Adresa: $V{STREET} $V{HOUSE_NUMBER}, $V{CITY},$V{ZIP_CODE} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem62 - + - - + + ReportHeader1 - - - - - - + + + + + + $V{COMPANY} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem63 - + - - + + ReportHeader1 - - - - - - + + + + + + DIČ: $V{DIC} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem64 - + - - + + ReportHeader1 - - - - - - + + + + + + Adresa: $V{STREET} $V{HOUSE_NUMBER}, $V{CITY},$V{ZIP_CODE} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem65 - + - - + + ReportHeader1 - - - - - - + + + + + + IČO: $V{IC} - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem8 + + + + + ReportHeader1 + + + + + + + Web: $V{WEB} + + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem66 + + + + + ReportHeader1 + + + + + + + E-mail: $V{EMAIL} + + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem67 + + + + + ReportHeader1 + + + + + + + Telefon: $V{PHONE} + + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem68 + + + + + ReportHeader1 + + + + + + + Web: $V{WEB} + + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem69 + + + + + ReportHeader1 + + + + + + + E-mail: $V{EMAIL} + + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem70 + + + + + ReportHeader1 + + + + + + + Telefon: $V{PHONE} + + + + + + + + + + + + + + + + + + + + + + + + - - + + ReportPage1 - - - - - - + + + + + + - - - - + + + + - + DataBand3 - + - + TextItem4 - + - - + + DataBand3 - - - - - - + + + + + + $S{dateFormat($D{data_ubytovani.start},"d.M.yyyy")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem19 - + - - + + DataBand3 - - - - - - + + + + + + $D{data_ubytovani.numSer} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem20 - + - - + + DataBand3 - - - - - - + + + + + + $S{dateFormat($D{data_ubytovani.end},"d.M.yyyy")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem23 - + - - + + DataBand3 - - - - - - + + + + + + $D{data_ubytovani.ownerFirstame} $D{data_ubytovani.ownerLastname} $S{dateFormat($D{data_ubytovani.ownerBirthDate},"d.M.yyyy")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem54 - + - - + + DataBand3 - - - - - - + + + + + + $D{data_ubytovani.numSer} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem55 - + - - + + DataBand3 - - - - - - + + + + + + $S{dateFormat($D{data_ubytovani.start},"d.M.yyyy")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem56 - + - - + + DataBand3 - - - - - - + + + + + + $S{dateFormat($D{data_ubytovani.end},"d.M.yyyy")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem57 - + - - + + DataBand3 - - - - - - + + + + + + $D{data_ubytovani.ownerFirstame} $D{data_ubytovani.ownerLastname} $S{dateFormat($D{data_ubytovani.ownerBirthDate},"d.M.yyyy")} - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - + + ReportPage1 - - - - - - + + + + + + - - - + + + data_ubytovani - - - - - - - - - + + + + + + + + + - + SubDetailBand6 - + - + TextItem7 - + - - + + SubDetailBand6 - - - - - - + + + + + + $D{polozky_ubytovani.name} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem26 - + - - + + SubDetailBand6 - - - - - - + + + + + + $D{polozky_ubytovani.description} $S{dateFormat($D{polozky_ubytovani.birthDate},"d.M.yyyy")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem31 - + - - + + SubDetailBand6 - - - - - - + + + + + + $S{currencyFormat($D{polozky_ubytovani.fullPrice} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem32 - + - - + + SubDetailBand6 - - - - - - + + + + + + $S{currencyFormat($D{polozky_ubytovani.sale} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem33 - + - - + + SubDetailBand6 - - - - - - + + + + + + $S{currencyFormat($D{polozky_ubytovani.totalPrice} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem21 - + - - + + SubDetailBand6 - - - - - - + + + + + + $D{polozky_ubytovani.description} $S{dateFormat($D{polozky_ubytovani.birthDate},"d.M.yyyy")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem22 - + - - + + SubDetailBand6 - - - - - - + + + + + + $S{currencyFormat($D{polozky_ubytovani.totalPrice} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem27 - + - - + + SubDetailBand6 - - - - - - + + + + + + $D{polozky_ubytovani.name} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem36 - + - - + + SubDetailBand6 - - - - - - + + + + + + $S{currencyFormat($D{polozky_ubytovani.fullPrice} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem38 - + - - + + SubDetailBand6 - - - - - - + + + + + + $S{currencyFormat($D{polozky_ubytovani.sale} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem39 - + - - + + SubDetailBand6 - - - - - - + + + + + + $S{currencyFormat($D{polozky_ubytovani.fullPrice} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem40 - + - - + + SubDetailBand6 - - - - - - + + + + + + $D{polozky_ubytovani.name} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem41 - + - - + + SubDetailBand6 - - - - - - + + + + + + $S{currencyFormat($D{polozky_ubytovani.totalPrice} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem42 - + - - + + SubDetailBand6 - - - - - - + + + + + + $D{polozky_ubytovani.description} $S{dateFormat($D{polozky_ubytovani.birthDate},"d.M.yyyy")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem43 - + - - + + SubDetailBand6 - - - - - - + + + + + + $S{currencyFormat($D{polozky_ubytovani.sale} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem49 - + - - + + SubDetailBand6 - - - - - - + + + + + + $S{currencyFormat($D{polozky_ubytovani.fullPrice} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem50 - + - - + + SubDetailBand6 - - - - - - + + + + + + $D{polozky_ubytovani.name} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem51 - + - - + + SubDetailBand6 - - - - - - + + + + + + $D{polozky_ubytovani.description} $S{dateFormat($D{polozky_ubytovani.birthDate},"d.M.yyyy")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem52 - + - - + + SubDetailBand6 - - - - - - + + + + + + $S{currencyFormat($D{polozky_ubytovani.sale} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem53 - + - - + + SubDetailBand6 - - - - - - + + + + + + $S{currencyFormat($D{polozky_ubytovani.totalPrice} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - + + ReportPage1 - - - - - - + + + + + + DataBand3 - - - + + + polozky_ubytovani - - - - - + + + + + - + SubDetailHeaderBand6 - + - + TextItem24 - + - - + + SubDetailHeaderBand6 - - - - - - + + + + + + Název položky - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem25 - + - - + + SubDetailHeaderBand6 - - - - - - + + + + + + Datum narození / Poznámka - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem28 - + - - + + SubDetailHeaderBand6 - - - - - - + + + + + + Plná cena - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem29 - + - - + + SubDetailHeaderBand6 - - - - - - + + + + + + Sleva - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem30 - + - - + + SubDetailHeaderBand6 - - - - - - + + + + + + Cena - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem44 - + - - + + SubDetailHeaderBand6 - - - - - - + + + + + + Název položky - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem45 - + - - + + SubDetailHeaderBand6 - - - - - - + + + + + + Cena - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem46 - + - - + + SubDetailHeaderBand6 - - - - - - + + + + + + Plná cena - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem47 - + - - + + SubDetailHeaderBand6 - - - - - - + + + + + + Datum narození / Poznámka - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem48 - + - - + + SubDetailHeaderBand6 - - - - - - + + + + + + Sleva - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - + + ReportPage1 - - - - - - + + + + + + SubDetailBand6 - - - - - - + + + + + + - + DataFooterBand10 - + - + TextItem34 - + - - + + DataFooterBand10 - - - - - - + + + + + + Plná cena: $S{currencyFormat($D{data_ubytovani.fullPrice} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem35 - + - - + + DataFooterBand10 - - - - - - + + + + + + Sleva: $S{currencyFormat($D{data_ubytovani.totalSale} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem37 - + - - + + DataFooterBand10 - - - - - - + + + + + + K úhradě: $S{currencyFormat($D{data_ubytovani.totalPrice} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem3 - + - - + + DataFooterBand10 - - - - - - + + + + + + Vystavil: - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem9 - + - - + + DataFooterBand10 - - - - - - + + + + + + Sleva: $S{currencyFormat($D{data_ubytovani.totalSale} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem10 - + - - + + DataFooterBand10 - - - - - - + + + + + + K úhradě: $S{currencyFormat($D{data_ubytovani.totalPrice} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem11 - + - - + + DataFooterBand10 - - - - - - + + + + + + Plná cena: $S{currencyFormat($D{data_ubytovani.fullPrice} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem12 - + - - + + DataFooterBand10 - - - - - - + + + + + + Vystavil: - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - + + ReportPage1 - - - - - - + + + + + + DataBand3 - - - - - - + + + + + + - + DataHeaderBand14 - + - + TextItem15 - + - - + + DataHeaderBand14 - - - - - - + + + + + + Číslo dokumentu - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem16 - + - - + + DataHeaderBand14 - - - - - - + + + + + + Ubytování od - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem17 - + - - + + DataHeaderBand14 - - - - - - + + + + + + Ubytování do - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem18 - + - - + + DataHeaderBand14 - - - - - - + + + + + + Vystaveno pro - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem58 - + - - + + DataHeaderBand14 - - - - - - + + + + + + Ubytování do - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem59 - + - - + + DataHeaderBand14 - - - - - - + + + + + + Číslo dokumentu - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem60 - + - - + + DataHeaderBand14 - - - - - - + + + + + + Ubytování od - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem61 - + - - + + DataHeaderBand14 - - - - - - + + + + + + Vystaveno pro - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - + + ReportPage1 - - - - - - + + + + + + DataBand3 - - - - - - - - + + + + + + + + - + TextItem5 - + - - + + ReportPage1 - - - - - - + + + + + + <img src="file://$V{LOGO_PATH}"/> - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - + - - - + + + - + TextItem6 - + - - + + ReportPage1 - - - - - - + + + + + + <img src="file://$V{LOGO_PATH}"/> - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - + - - - + + + - - + + - - - - - - - - - - - - - + + + + + + + + + + + + + - + datasources - + prodejna QSQLITE $V{dbPath} - + - - + + - + data_ubytovani @@ -2718,7 +2952,7 @@ WHERE cd.id = $V{RECORD_ID} - + polozky_ubytovani select si.name as name, @@ -2757,63 +2991,78 @@ ORDER BY type - + dbPath /home/pepa/Dokumenty/dev/qt/pokus.db - + RECORD_ID 15 - + COMPANY Veřejné tábořiště Vyskytná - + STREET Vyskytná - + HOUSE_NUMBER 22 - + CITY Vyskytná - + ZIP_CODE - + IC 1212121218 - + DIC CZ1212121218 - + LOGO_PATH /home/pepa/Dokumenty/face3.jpg + + + WEB + www.123.com + + + + EMAIL + pok@po.po + + + + PHONE + 123456789 + - + - + diff --git a/reports/camp_accommodation_document_en.lrxml b/reports/camp_accommodation_document_en.lrxml index d43039c..cd1d482 100644 --- a/reports/camp_accommodation_document_en.lrxml +++ b/reports/camp_accommodation_document_en.lrxml @@ -1,2695 +1,2929 @@ - + - + page1 - - - - - - - + + + + + + + ReportPage1 - + - + ReportHeader1 - + - + TextItem2 - + - - + + ReportHeader1 - - - - - - + + + + + + $V{COMPANY} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem1 - + - - + + ReportHeader1 - - - - - - + + + + + + IČO: $V{IC} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem13 - + - - + + ReportHeader1 - - - - - - + + + + + + DIČ: $V{DIC} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem14 - + - - + + ReportHeader1 - - - - - - + + + + + + Adresa: $V{STREET} $V{HOUSE_NUMBER}, $V{CITY},$V{ZIP_CODE} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem62 - + - - + + ReportHeader1 - - - - - - + + + + + + $V{COMPANY} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem63 - + - - + + ReportHeader1 - - - - - - + + + + + + Tax Id: $V{DIC} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem64 - + - - + + ReportHeader1 - - - - - - + + + + + + Address: $V{STREET} $V{HOUSE_NUMBER}, $V{CITY},$V{ZIP_CODE} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem65 - + - - + + ReportHeader1 - - - - - - + + + + + + Company reg. num.: $V{IC} - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem8 + + + + + ReportHeader1 + + + + + + + Web: $V{WEB} + + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem66 + + + + + ReportHeader1 + + + + + + + E-mail: $V{EMAIL} + + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem67 + + + + + ReportHeader1 + + + + + + + Telefon: $V{PHONE} + + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem68 + + + + + ReportHeader1 + + + + + + + Web: $V{WEB} + + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem69 + + + + + ReportHeader1 + + + + + + + E-mail: $V{EMAIL} + + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem70 + + + + + ReportHeader1 + + + + + + + Phone: $V{PHONE} + + + + + + + + + + + + + + + + + + + + + + + + - - + + ReportPage1 - - - - - - + + + + + + - - - - + + + + - + DataBand3 - + - + TextItem4 - + - - + + DataBand3 - - - - - - + + + + + + $S{dateFormat($D{data_ubytovani.start},"d.M.yyyy")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem19 - + - - + + DataBand3 - - - - - - + + + + + + $D{data_ubytovani.numSer} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem20 - + - - + + DataBand3 - - - - - - + + + + + + $S{dateFormat($D{data_ubytovani.end},"d.M.yyyy")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem23 - + - - + + DataBand3 - - - - - - + + + + + + $D{data_ubytovani.ownerFirstame} $D{data_ubytovani.ownerLastname} $S{dateFormat($D{data_ubytovani.ownerBirthDate},"d.M.yyyy")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem54 - + - - + + DataBand3 - - - - - - + + + + + + $D{data_ubytovani.numSer} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem55 - + - - + + DataBand3 - - - - - - + + + + + + $S{dateFormat($D{data_ubytovani.start},"d.M.yyyy")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem56 - + - - + + DataBand3 - - - - - - + + + + + + $S{dateFormat($D{data_ubytovani.end},"d.M.yyyy")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem57 - + - - + + DataBand3 - - - - - - + + + + + + $D{data_ubytovani.ownerFirstame} $D{data_ubytovani.ownerLastname} $S{dateFormat($D{data_ubytovani.ownerBirthDate},"d.M.yyyy")} - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - + + ReportPage1 - - - - - - + + + + + + - - - + + + data_ubytovani - - - - - - - - - + + + + + + + + + - + SubDetailBand6 - + - + TextItem7 - + - - + + SubDetailBand6 - - - - - - + + + + + + $D{polozky_ubytovani.name} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem26 - + - - + + SubDetailBand6 - - - - - - + + + + + + $D{polozky_ubytovani.description} $S{dateFormat($D{polozky_ubytovani.birthDate},"d.M.yyyy")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem31 - + - - + + SubDetailBand6 - - - - - - + + + + + + $S{currencyFormat($D{polozky_ubytovani.fullPrice} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem32 - + - - + + SubDetailBand6 - - - - - - + + + + + + $S{currencyFormat($D{polozky_ubytovani.sale} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem33 - + - - + + SubDetailBand6 - - - - - - + + + + + + $S{currencyFormat($D{polozky_ubytovani.totalPrice} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem21 - + - - + + SubDetailBand6 - - - - - - + + + + + + $D{polozky_ubytovani.description} $S{dateFormat($D{polozky_ubytovani.birthDate},"d.M.yyyy")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem22 - + - - + + SubDetailBand6 - - - - - - + + + + + + $S{currencyFormat($D{polozky_ubytovani.totalPrice} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem27 - + - - + + SubDetailBand6 - - - - - - + + + + + + $D{polozky_ubytovani.name} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem36 - + - - + + SubDetailBand6 - - - - - - + + + + + + $S{currencyFormat($D{polozky_ubytovani.fullPrice} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem38 - + - - + + SubDetailBand6 - - - - - - + + + + + + $S{currencyFormat($D{polozky_ubytovani.sale} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem39 - + - - + + SubDetailBand6 - - - - - - + + + + + + $S{currencyFormat($D{polozky_ubytovani.fullPrice} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem40 - + - - + + SubDetailBand6 - - - - - - + + + + + + $D{polozky_ubytovani.name} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem41 - + - - + + SubDetailBand6 - - - - - - + + + + + + $S{currencyFormat($D{polozky_ubytovani.totalPrice} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem42 - + - - + + SubDetailBand6 - - - - - - + + + + + + $D{polozky_ubytovani.description} $S{dateFormat($D{polozky_ubytovani.birthDate},"d.M.yyyy")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem43 - + - - + + SubDetailBand6 - - - - - - + + + + + + $S{currencyFormat($D{polozky_ubytovani.sale} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem49 - + - - + + SubDetailBand6 - - - - - - + + + + + + $S{currencyFormat($D{polozky_ubytovani.fullPrice} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem50 - + - - + + SubDetailBand6 - - - - - - + + + + + + $D{polozky_ubytovani.name} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem51 - + - - + + SubDetailBand6 - - - - - - + + + + + + $D{polozky_ubytovani.description} $S{dateFormat($D{polozky_ubytovani.birthDate},"d.M.yyyy")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem52 - + - - + + SubDetailBand6 - - - - - - + + + + + + $S{currencyFormat($D{polozky_ubytovani.sale} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem53 - + - - + + SubDetailBand6 - - - - - - + + + + + + $S{currencyFormat($D{polozky_ubytovani.totalPrice} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - + + ReportPage1 - - - - - - + + + + + + DataBand3 - - - + + + polozky_ubytovani - - - - - + + + + + - + SubDetailHeaderBand6 - + - + TextItem24 - + - - + + SubDetailHeaderBand6 - - - - - - + + + + + + Název položky - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem25 - + - - + + SubDetailHeaderBand6 - - - - - - + + + + + + Datum narození / Poznámka - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem28 - + - - + + SubDetailHeaderBand6 - - - - - - + + + + + + Plná cena - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem29 - + - - + + SubDetailHeaderBand6 - - - - - - + + + + + + Sleva - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem30 - + - - + + SubDetailHeaderBand6 - - - - - - + + + + + + Cena - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem44 - + - - + + SubDetailHeaderBand6 - - - - - - + + + + + + Name or Service - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem45 - + - - + + SubDetailHeaderBand6 - - - - - - + + + + + + Price - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem46 - + - - + + SubDetailHeaderBand6 - - - - - - + + + + + + Full price - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem47 - + - - + + SubDetailHeaderBand6 - - - - - - + + + + + + Date Of Birth / Note - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem48 - + - - + + SubDetailHeaderBand6 - - - - - - + + + + + + Discount - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - + + ReportPage1 - - - - - - + + + + + + SubDetailBand6 - - - - - - + + + + + + - + DataFooterBand10 - + - + TextItem34 - + - - + + DataFooterBand10 - - - - - - + + + + + + Plná cena: $S{currencyFormat($D{data_ubytovani.fullPrice} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem35 - + - - + + DataFooterBand10 - - - - - - + + + + + + Sleva: $S{currencyFormat($D{data_ubytovani.totalSale} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem37 - + - - + + DataFooterBand10 - - - - - - + + + + + + K úhradě: $S{currencyFormat($D{data_ubytovani.totalPrice} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem3 - + - - + + DataFooterBand10 - - - - - - + + + + + + Vystavil: - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem9 - + - - + + DataFooterBand10 - - - - - - + + + + + + Discount: $S{currencyFormat($D{data_ubytovani.totalSale} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem10 - + - - + + DataFooterBand10 - - - - - - + + + + + + Total amount: $S{currencyFormat($D{data_ubytovani.totalPrice} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem11 - + - - + + DataFooterBand10 - - - - - - + + + + + + Full price: $S{currencyFormat($D{data_ubytovani.fullPrice} / 100,"cs_CZ.utf8")} - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem12 - + - - + + DataFooterBand10 - - - - - - + + + + + + Created by: - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - + + ReportPage1 - - - - - - + + + + + + DataBand3 - - - - - - + + + + + + - + DataHeaderBand14 - + - + TextItem15 - + - - + + DataHeaderBand14 - - - - - - + + + + + + Číslo dokumentu - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem16 - + - - + + DataHeaderBand14 - - - - - - + + + + + + Ubytování od - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem17 - + - - + + DataHeaderBand14 - - - - - - + + + + + + Ubytování do - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem18 - + - - + + DataHeaderBand14 - - - - - - + + + + + + Vystaveno pro - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem58 - + - - + + DataHeaderBand14 - - - - - - + + + + + + Accommod. to - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem59 - + - - + + DataHeaderBand14 - - - - - - + + + + + + Document nr. - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem60 - + - - + + DataHeaderBand14 - - - - - - + + + + + + Accommod. from - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + TextItem61 - + - - + + DataHeaderBand14 - - - - - - + + + + + + Issued for - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - + + ReportPage1 - - - - - - + + + + + + DataBand3 - - - - - - - - + + + + + + + + - + TextItem5 - + - - + + ReportPage1 - - - - - - + + + + + + <img src="file://$V{LOGO_PATH}"/> - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - + - - - + + + - + TextItem6 - + - - + + ReportPage1 - - - - - - + + + + + + <img src="file://$V{LOGO_PATH}"/> - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - + - - - + + + - - + + - - - - - - - - - - - - - + + + + + + + + + + + + + - + datasources - + prodejna QSQLITE $V{dbPath} - + - - + + - + data_ubytovani @@ -2718,7 +2952,7 @@ WHERE cd.id = $V{RECORD_ID} - + polozky_ubytovani select si.name as name, @@ -2757,63 +2991,78 @@ ORDER BY type - + dbPath /home/pepa/Dokumenty/dev/qt/pokus.db - + RECORD_ID 15 - + COMPANY Veřejné tábořiště Vyskytná - + STREET Vyskytná - + HOUSE_NUMBER 22 - + CITY Vyskytná - + ZIP_CODE - + IC 1212121218 - + DIC CZ1212121218 - + LOGO_PATH /home/pepa/Dokumenty/face3.jpg + + + WEB + www.123.cz + + + + EMAIL + pok@pok.po + + + + PHONE + +123456789 + - + - +