ecogastronom Posted June 8, 2013 Posted June 8, 2013 D PDF инвойсе не выводится номер мобильного телефона. Захожу в pdf/invoice.tpl там только следующий кусок кода: <!-- ADDRESSES --> <table style="width: 100%"> <tr> <td style="width: 15%"></td> <td style="width: 85%"> {if !empty($delivery_address)} <table style="width: 100%"> <tr> <td style="width: 50%"> <span style="font-weight: bold; font-size: 10pt; color: #9E9F9E">{l s='Delivery Address' pdf='true'}</span><br /> {$delivery_address} </td> <td style="width: 50%"> <span style="font-weight: bold; font-size: 10pt; color: #9E9F9E">{l s='Billing Address' pdf='true'}</span><br /> {$invoice_address} </td> </tr> </table> {else} <table style="width: 100%"> <tr> <td style="width: 50%"> <span style="font-weight: bold; font-size: 10pt; color: #9E9F9E">{l s='Billing & Delivery Address.' pdf='true'}</span><br /> {$invoice_address} </td> <td style="width: 50%"> </td> </tr> </table> {/if} </td> </tr> </table> <!-- / ADDRESSES --> Вопрос: а где редактировать $delivery_address чтобы изменить набор выводимых полей? Share this post Link to post Share on other sites More sharing options...
absent Posted June 9, 2013 Posted June 9, 2013 контроллер и класс pdf Share this post Link to post Share on other sites More sharing options...
ecogastronom Posted June 10, 2013 Posted June 10, 2013 контроллер и класс pdf пересмотрела все классы и контроллеры, не нашла . а можно пальцем ткнуть? спасибо заранее Share this post Link to post Share on other sites More sharing options...
absent Posted June 10, 2013 Posted June 10, 2013 смотрите в сторону adminpdfcontroller Share this post Link to post Share on other sites More sharing options...
Dzianis Yurevich Posted June 11, 2013 Posted June 11, 2013 Метод HTMLTemplateInvoiceCore::getContent() Файл classes/pdf/HTMLTemplateInvoice.php Share this post Link to post Share on other sites More sharing options...
ecogastronom Posted June 15, 2013 Posted June 15, 2013 Метод HTMLTemplateInvoiceCore::getContent() Файл classes/pdf/HTMLTemplateInvoice.php просмотрела всю функцию и не нашла где приводятся выводимые значения. я себе представляла что это будет перечисление выводимых полей (улица, почтовый индекс, домашний телефон, мобильный телефон). но ничего такого не нашла. помогите пожалуйста, очень надо. сейчас каждый раз вручную пишем номера мобильных, очень неудобно Share this post Link to post Share on other sites More sharing options...
Dzianis Yurevich Posted June 17, 2013 Posted June 17, 2013 (edited) Метод HTMLTemplateInvoiceCore::getContent() Файл classes/pdf/HTMLTemplateInvoice.php Edited June 17, 2013 by Dzianis Yurevich (see edit history) 2 Share this post Link to post Share on other sites More sharing options...
ecogastronom Posted June 29, 2013 Posted June 29, 2013 Метод HTMLTemplateInvoiceCore::getContent() Файл classes/pdf/HTMLTemplateInvoice.php Dzianis , а что в этом выражении можно изменить? и где указать вывод значения "номер мобильного"?сори, если вопрос покажется глупым Share this post Link to post Share on other sites More sharing options...
absent Posted June 29, 2013 Posted June 29, 2013 Теперь смотри classes/addressformat.php функция generateAddress непонимаю зачем лезть туда, чего не понимаешь даже на 1/10? попросите помочь!(необязательно я) 200р за такое норм) Dzianis , а что в этом выражении можно изменить? и где указать вывод значения "номер мобильного"? сори, если вопрос покажется глупым 1 Share this post Link to post Share on other sites More sharing options...
ecogastronom Posted June 29, 2013 Posted June 29, 2013 Теперь смотри classes/addressformat.php функция generateAddress непонимаю зачем лезть туда, чего не понимаешь даже на 1/10? попросите помочь!(необязательно я) 200р за такое норм) не спорю, получила урок. потраченное время не стоит того. спасибо Share this post Link to post Share on other sites More sharing options...
absent Posted June 30, 2013 Posted June 30, 2013 Вообще система довольно запутанная, где именно вам вывести номер, и чей, ваш или клиента. желательно показать на скрине. Share this post Link to post Share on other sites More sharing options...
ecogastronom Posted June 30, 2013 Posted June 30, 2013 (edited) Вообще система довольно запутанная, где именно вам вывести номер, и чей, ваш или клиента. желательно показать на скрине. вот скрин PDF счета. необходимо в группе полей вывести номер мобильного (сейчас выводит только номер домашнего, если он имеется) Edited June 30, 2013 by ecogastronom (see edit history) Share this post Link to post Share on other sites More sharing options...
absent Posted June 30, 2013 Posted June 30, 2013 Всё оказалось проще)) идём в локализация--страны--россия(если она) далее в ормат адреса в новой строке пишем phone_mobile и всё!!! Всё гениальное просто. 1 Share this post Link to post Share on other sites More sharing options...
ecogastronom Posted June 30, 2013 Posted June 30, 2013 Всё оказалось проще)) идём в локализация--страны--россия(если она) далее в ормат адреса в новой строке пишем phone_mobile и всё!!! Всё гениальное просто. Аве, свершилось. Очень благодарна (мир еще не без добрых людей)! Share this post Link to post Share on other sites More sharing options...
absent Posted June 30, 2013 Posted June 30, 2013 Обращайтесь)) Share this post Link to post 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