Hello
I have installed and am successfully using the component, thank you very much!
However, I would like to modify the delivery note. I would like to repeat the shipping and billing address 'boxes' at the bottom of the the pdf where the vendor details are. I have an A4 sheet with two sticky labels and I would like to print to them to save me writing out addresses each time!
Is this possible? If so, could you help me by pointing out where I need to look and what needs to be changed?
Thanks
Fran
Delivery note - print to sticky labels
-
- Phoca Newbie
- Posts: 3
- Joined: 15 Dec 2011, 16:24
-
- Phoca Newbie
- Posts: 3
- Joined: 15 Dec 2011, 16:24
Re: Delivery note - print to sticky labels
Hello
As a quicker resolution, can I change the billing address to be the vendor address, if so how?
Thanks
As a quicker resolution, can I change the billing address to be the vendor address, if so how?
Thanks
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Delivery note - print to sticky labels
Hi, this needs to be customized in the code - load the information and post them to template.
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 15 Dec 2011, 16:24
Re: Delivery note - print to sticky labels
HI Jan
Thanks for replying. I am trying to work out how to load the information and to which files. I have altered the template but it is producing a blank space where I want the vendor address to be shown. Can you help me?
I have the following in the template:
.'<span class="vendorfooter">'.JText::_('PLG_PHOCAPDF_VM_DELIVERY_PRINT_VENDOR_ADDRES_LBL').'</span><br />';
if ($a['vendor_store_name'] != '') {$o .= $a['vendor_store_name'].'<br />';}
$o .= $a['vendor_store_name'].$a['vendor_store_name'] .$a['vendor_store_name']. '<br />';
if ($a['extra_field_1'] != '') {
$o .= '<span class="extrafield">'.$a['l_extra_field_1'] . ': '.$a['extra_field_1']. '</span><br />';
}
if ($a['extra_field_2'] != '') {
$o .= '<span class="extrafield">'.$a['l_extra_field_2'] . ': '.$a['extra_field_2']. '</span><br />';
}
$o .= $a['vendor_address_1']. '<br />';
if ($a['vendor_address_2'] != '') {$o .= $a['vendor_address_2'].'<br />';}
$o .= $a['vendor_city'] .' '. $a['vendor_zip'] . '<br />';
if ($a['vendor_state'] != '') {$o .= $a['vendor_state'].'<br />';}
$o .= $a['vendor_country']
Can you tell me where I am going wrong?
Thanks
Fran
Thanks for replying. I am trying to work out how to load the information and to which files. I have altered the template but it is producing a blank space where I want the vendor address to be shown. Can you help me?
I have the following in the template:
.'<span class="vendorfooter">'.JText::_('PLG_PHOCAPDF_VM_DELIVERY_PRINT_VENDOR_ADDRES_LBL').'</span><br />';
if ($a['vendor_store_name'] != '') {$o .= $a['vendor_store_name'].'<br />';}
$o .= $a['vendor_store_name'].$a['vendor_store_name'] .$a['vendor_store_name']. '<br />';
if ($a['extra_field_1'] != '') {
$o .= '<span class="extrafield">'.$a['l_extra_field_1'] . ': '.$a['extra_field_1']. '</span><br />';
}
if ($a['extra_field_2'] != '') {
$o .= '<span class="extrafield">'.$a['l_extra_field_2'] . ': '.$a['extra_field_2']. '</span><br />';
}
$o .= $a['vendor_address_1']. '<br />';
if ($a['vendor_address_2'] != '') {$o .= $a['vendor_address_2'].'<br />';}
$o .= $a['vendor_city'] .' '. $a['vendor_zip'] . '<br />';
if ($a['vendor_state'] != '') {$o .= $a['vendor_state'].'<br />';}
$o .= $a['vendor_country']
Can you tell me where I am going wrong?
Thanks
Fran