vasikgreif Posted June 18, 2010 Share Posted June 18, 2010 Sháním někoho kdo je schopný za úplatu upravit úpravu IČ a DIČ od uživatele haVaj z tohoto threadu pro verzi 1.3. Nabídky prosím na PM nebo vasik (at) vasik.net . Díky Link to comment Share on other sites More sharing options...
BeavisCZ Posted June 22, 2010 Share Posted June 22, 2010 Tak jsem upravil haVajovo Ič, Dič a vyžadovaný mobil na verzi 1.3.1.1. Tak zde dávám k dispozici... icdic_1.3.1.1-haVaj.zip Link to comment Share on other sites More sharing options...
Stanislav Horňák Posted June 22, 2010 Share Posted June 22, 2010 Měli bysme se složit a pozlatit ti ruce :-DSkripty jsem nahrál na ftp do odpovídajících složek, provedl sql dodaz v databázi a zdá se všechno ok :-):-):-) :-) Tak jsem upravil haVajovo Ič, Dič a vyžadovaný mobil na verzi 1.3.1.1. Tak zde dávám k dispozici... Link to comment Share on other sites More sharing options...
BeavisCZ Posted June 22, 2010 Share Posted June 22, 2010 Není třeba, sám tu dávám dokupy shop na prestě tak proč se nepodělit... Link to comment Share on other sites More sharing options...
vasikgreif Posted June 22, 2010 Author Share Posted June 22, 2010 Díky, funguje to! Link to comment Share on other sites More sharing options...
Stanislav Horňák Posted June 22, 2010 Share Posted June 22, 2010 Není třeba, sám tu dávám dokupy shop na prestě tak proč se nepodělit... Takový dotaz, ve vygenerované faktuře se nevleze na jeden řádek název společnosti a jméno kontaktní osoby. Nevíte jak dát kontaktní osobu na další řádek?Ještě jeden dotaz, jak udělat to, aby na vygenerované faktuře bylo jen 1x IČO a DIČ? Link to comment Share on other sites More sharing options...
BeavisCZ Posted June 23, 2010 Share Posted June 23, 2010 Generování PDF jsem ještě nestihl řešit. Jak na to přijde řada, mrknu na to... Link to comment Share on other sites More sharing options...
Mlsounkov Posted October 12, 2010 Share Posted October 12, 2010 2BeavisCZ:Díky za IČ / DIČ. Funguje perfektně i na PS 1.3.2.3. Link to comment Share on other sites More sharing options...
ramble Posted October 17, 2010 Share Posted October 17, 2010 Podvedlo se už někomu implementovat to IČ/DIČ do faktur? Link to comment Share on other sites More sharing options...
ramble Posted October 28, 2010 Share Posted October 28, 2010 Tak jsem si to vyřešil následnovně: if (!empty($delivery_address->company) OR !empty($invoice_address->company)) { $pdf->Cell($width, 10, Tools::iconv('utf-8', self::encoding(), $delivery_address->company), 0, 'L'); $pdf->Cell($width, 10, Tools::iconv('utf-8', self::encoding(), $invoice_address->company), 0, 'L'); $pdf->Ln(5); } $pdf->Cell($width, 10, Tools::iconv('utf-8', self::encoding(), $delivery_address->firstname).' '.Tools::iconv('utf-8', self::encoding(), $delivery_address->lastname), 0, 'L'); $pdf->Cell($width, 10, Tools::iconv('utf-8', self::encoding(), $invoice_address->firstname).' '.Tools::iconv('utf-8', self::encoding(), $invoice_address->lastname), 0, 'L'); $pdf->Ln(5); $pdf->Cell($width, 10, Tools::iconv('utf-8', self::encoding(), $delivery_address->address1.', '.$delivery_address->postcode.', '.$delivery_address->city), 0, 'L'); $pdf->Cell($width, 10, Tools::iconv('utf-8', self::encoding(), $invoice_address->address1.', '.$invoice_address->postcode.', '.$invoice_address->city), 0, 'L'); $pdf->Ln(5); if (!empty($invoice_address->address2) OR !empty($delivery_address->address2)) { $pdf->Cell($width, 10, Tools::iconv('utf-8', self::encoding(), $delivery_address->address2), 0, 'L'); $pdf->Cell($width, 10, Tools::iconv('utf-8', self::encoding(), $invoice_address->address2), 0, 'L'); $pdf->Ln(5); } $pdf->Cell($width, 10, Tools::iconv('utf-8', self::encoding(), $delivery_address->country.($deliveryState ? ' - '.$deliveryState->name : '')), 0, 'L'); $pdf->Cell($width, 10, Tools::iconv('utf-8', self::encoding(), $invoice_address->country.($invoiceState ? ' - '.$invoiceState->name : '')), 0, 'L'); $pdf->Ln(5); if (!empty($delivery_address->ic)) { $pdf->Cell($width, 10, Tools::iconv('utf-8', self::encoding(),"IČ: $delivery_address->ic, DIČ: $delivery_address->dic"), 0, 'L'); } if (!empty($invoice_address->ic)) { $pdf->Cell($width, 10, Tools::iconv('utf-8', self::encoding(),"IČ:$invoice_address->ic, DIČ: $invoice_address->dic"), 0, 'L'); } $pdf->Ln(5); $pdf->Cell($width, 10, $delivery_address->phone, 0, 'L'); if($invoice_customer->dni != NULL) $pdf->Cell($width, 10, self::l('Tax ID number:').' '.Tools::iconv('utf-8', self::encoding(), $invoice_customer->dni), 0, 'L'); if (!empty($delivery_address->phone_mobile)) { $pdf->Cell($width, 10, self::l('PHONE:').' '.Tools::iconv('utf-8', self::encoding(), $delivery_address->phone_mobile), 0, 'L'); } Je tam i úprava adresy na jeden řádek. Snad se to bude někomu hodit. Pokud má někdo elegantnější řešení rád se přiučím Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now