magento增值税号pdf发票 [英] magento vat number pdf invoice

查看:104
本文介绍了magento增值税号pdf发票的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以帮助我在Magento的pdf发票上放置增值税/税号吗?

can anyone help me in placing the vat/tax number on the pdf invoice in Magento?

我尝试了这段代码,但是没有用:

I tried this code but it didn't work:

$taxvat = $order->getData('customer_taxvat');
$page->drawText('Tax/Vat: '.$taxvat, 35, 567);

推荐答案

$order->getCustomerTaxvat()

如果此值为空,则可以尝试此操作;

If this value is empty you could try this;

$customer = Mage::getModel('customer/customer')->load($order->getData('customer_id'));
$taxVat = $customer->getData('taxvat');

这篇关于magento增值税号pdf发票的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆