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 select cd.id, cd.numSer, cd.start, cd.end, cd.ownerFirstame, cd.ownerLastname, cd.ownerAddress, cd.totalPrice, cd.fixedSale, cd.season, cd.totalPrice + cd.totalSale as fullPrice, cd.totalSale, ad.birthDate as ownerBirthDate from campdata as cd JOIN addressitem as ai ON cd.id = ai.campData AND ai.owner = 1 JOIN addressbookData as ad on ad.id = ai.adbitem WHERE cd.id = $V{RECORD_ID} prodejna polozky_ubytovani select si.name as name, si.description as description, si.price as itemPrice, si.sale as sale, si.totalPrice as totalPrice, si.fullPrice as fullPrice, si.type as type, NULL as birthDate, si.campData from serviceitem as si wHERE si.campData = $D{data_ubytovani.id} UNION ALL select ai.firstName || ' ' || ai.lastName as name, NULL as description, NULL as itemPrice, ai.sale as sale, ai.totalPrice as totalPrice, ai.price as fullPrice, -1 as type, ad.birthDate as birthDate, ai.campData from addressitem as ai JOIN addressbookData as ad on ad.id = ai.adbitem wHERE ai.campData = $D{data_ubytovani.id} ORDER BY type prodejna data_ubytovani 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