diff --git a/camp/translations/camp_cs_CZ.ts b/camp/translations/camp_cs_CZ.ts index bcc9797..955ca30 100644 --- a/camp/translations/camp_cs_CZ.ts +++ b/camp/translations/camp_cs_CZ.ts @@ -321,7 +321,7 @@ Sleva - + Apply sale Uplatnit slevu @@ -346,7 +346,7 @@ - + Change Změnit @@ -391,56 +391,56 @@ Tisk - + Fixed amound Pevná částka - + % % - - - + + + Error Chyba - + Add people. Přidání lidí. - + Start date is after or equals end date. Datum začátku je stejné nebo menší než datum konce. - + Add service. Přidat službu. - - + + Database error Chyba databáze - - + + Permission denied Nedostatečná oprávnění - + Save record? Uložit záznam? - + Record must be saved before print. Do you want to save record? Záznam musí být před tiskem uložen. Chcete jej uložit? diff --git a/core/context.cpp b/core/context.cpp index bc72107..80d15be 100644 --- a/core/context.cpp +++ b/core/context.cpp @@ -61,8 +61,8 @@ void Context::loadPlugins() if (p != NULL) { IPlugin *plugin = qobject_cast(p); if (plugin != NULL) { - plugin->init(pluginLoader.metaData()); m_plugins.append(plugin); + plugin->init(pluginLoader.metaData()); } } else 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/core/translations/core_cs_CZ.qm b/core/translations/core_cs_CZ.qm index 2507f9a..ff7b568 100644 Binary files a/core/translations/core_cs_CZ.qm and b/core/translations/core_cs_CZ.qm differ diff --git a/core/translations/core_cs_CZ.ts b/core/translations/core_cs_CZ.ts index 831ac01..be3def4 100644 --- a/core/translations/core_cs_CZ.ts +++ b/core/translations/core_cs_CZ.ts @@ -129,63 +129,78 @@ Hlavní nastavení - + + Web + Web + + + + E-mail + E-mail + + + + Phone + Telefon + + + Company info Informace o společnosti - + IC IČO - + VAT number DIČ - + VAT payer Plátce DPH - + VAT rates Sazby DPH - + High Vysoká - + First lower První snížená - + Second lower Druhá snížená - - + + Number series Číselné řady - + Edit name Upravit název - + Season Sezóna - + Create new Vytvořit novou @@ -220,42 +235,42 @@ PSČ - + Logo Logo - + Select file Vyber soubor - + Switch season Změna sezóny - + Realy switch active season? Opravdu si přejete změnit aktivní sezónu? - + New season Nová sezóna - + Realy create new season and switch to it? Opravdu si přejete vytvořit novou sezónu a přepnout na ni? - + Select logo Vybrat logo - + Images (*.png *.xpm *.jpg) Obrázky (*.png *.xpm *.jpg) @@ -387,7 +402,7 @@ You don't have permission to open this plugin. - Nemáte oprávnění otevřít tento modul + Nemáte oprávnění otevřít tento modul. @@ -556,7 +571,7 @@ You don't have permission to save settings. - Nemáte oprávnění uložit nastavení + Nemáte oprávnění uložit nastavení. 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 + - + - +