alexandrealx Posted March 3, 2021 Share Posted March 3, 2021 Olá, Tenho uma duvida em relação aos campos do template da fatura. Editei o arquivo "../classes/pdf/HTMLTemplateInvoice.php" e adicionei: $data = array( 'customer_firstname' => $customer->firstname, 'customer_lastnamen' => $customer->lastnamen, 'customer_email' => $customer->email, Editei o arquivo "../pdf/invoice.addresses-tab.tpl" e adicionei: <span>Nome:</span> {$customer->firstname} {$customer->lastname}<br /> <span>Email:</span> {$customer->email} Até ai tudo de certo, consigo exibir o nome, sobrenome, email do cliente. O que eu queria agora era exibir os campos: address1, address2, city tentei colocar 'address_address1' => $address->address1, e no template {$address->address1} segui o mesmo exemplo e não consigo exibir nada. alguém pode me ajudar? Att. Link to comment Share on other sites More sharing options...
alexandrealx Posted March 15, 2021 Author Share Posted March 15, 2021 Obrigado pelas respostas. 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