By Christian Harel on Tuesday, 09 October 2018
Posted in General Issues
Likes 0
Views 699
Votes 0
Hello it possible to have the value of profil (joomla custom field) in invoice ?
regards
Hello,

Let me know that you want to save custom field to payplans invoice table when they update/register or any other way.
Or also where you want to show this data, so i can check it's possibility.

Update us.
·
Wednesday, 10 October 2018 11:01
·
0 Likes
·
0 Votes
·
0 Comments
·
i use joomla native custom field for name and address
i want to add it in pdf invoice
it will be great that can be dynamic (if user change his address, invoice is updated)
regards
·
Wednesday, 10 October 2018 16:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Christian,

Yes, it's possible to show user other details on pdf invoice by some of customization.
In that case just wanna show the details from custom fields , it will not saved with invoice. But on invoice you can show those details.

Let me know i understood correctly.
·
Wednesday, 10 October 2018 19:08
·
0 Likes
·
0 Votes
·
0 Comments
·
yes the goal is :
- user can download his invoice with his address (address city zip) for exemple
·
Wednesday, 10 October 2018 20:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Christian,

To add the additional fields on pdf invoice, it will require customization. Please send us detailed requirement request at support@stackideas.com OR https://crm.stackideas.com and select "Customizations".

Let me know if you have any query.
·
Thursday, 11 October 2018 10:50
·
0 Likes
·
0 Votes
·
0 Comments
·
... no way have informaton to create this ? (files modification)
i use tva plugin but tva isn't added to invoice why ?
·
Thursday, 11 October 2018 16:24
·
0 Likes
·
0 Votes
·
0 Comments
·
hello for custom field the solution in default_partial_invoice.php
<?php $customFields = FieldsHelper::getFields('com_users.user', JFactory::getUser(), true);
echo $customFields[1]->value.'<br/>';
echo $customFields[2]->value.' '.$customFields[3]->value;
?>
question, it possible to add via template override or not and how ?

reste how to display TVA in invoice
regards
·
Thursday, 11 October 2018 17:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

question, it possible to add via template override or not and how ?
Yes, it's possible to add by template overriding. You need to override the template shown below path.

Invoice Thanks Page : Root/components/com_payplans/templates/default/_partials/default_partial_invoice.php
Pdf Invoice template : root/plugins/pdfinvoice/pdfinvoice/tmpl/default_pdfcontent.php
see attached screen shot.

Refer below mentioned document for template overriding.
https://stackideas.com/docs/payplans/administrators/customizations/template-override

Let me know if you have any query.
·
Thursday, 11 October 2018 18:01
·
0 Likes
·
0 Votes
·
0 Comments
·
you mean
Root/components/com_payplans/templates/default/_partials/default_partial_invoice.php
become
Root/templates/mytemplate/html/_partials/default_partial_invoice.php ?
some information about taxe and TVA in invoice ?
·
Thursday, 11 October 2018 20:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

It should be : Root/templates/mytemplate/html/com_payplans/_partials/default_partial_invoice.php

some information about taxe and TVA in invoice ?
Can you explain what information you want to know, so i can assist you.

Update us.
·
Friday, 12 October 2018 11:19
·
0 Likes
·
0 Votes
·
0 Comments
·
in french law for invoice we need to display price without tax; taxe amount and total with tax
for now payplans display only total with tax
·
Friday, 12 October 2018 15:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Christian,

On Invoice thanks page, we show plan price and tax sepreately and total after that. see attached screen shot.
Correct me if i misunderstood, try to explain using screen shot.

update me.
·
Friday, 12 October 2018 17:18
·
0 Likes
·
0 Votes
·
0 Comments
·
strange not for me
·
Friday, 12 October 2018 18:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

I've checked your site and found that you have created basic tax app for one country only (see attached screenshot)

So tax will be shpwn on invoice thabks page only if tax is applied for that user. I've subscribed using testuser by selecting country for whic tax is applicable, info is shown correctly. See attached screen shot.

Let me k ow if you have any confusion.
·
Friday, 12 October 2018 19:41
·
0 Likes
·
0 Votes
·
0 Comments
·
hello i update html view with override it great but i try to create pdf override but i have this error
0 Call to undefined method plgPayplansPdfinvoice::loadTemplate()
i create
mytemplate/html/com_payplans/_plg/payplans/pdfinvoice/
and
default_pdfcontent.php
default_pdfheader.php
file ...
Some idea ?
·
Tuesday, 16 October 2018 04:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Chirstian,

I've checked your override template , and got the issue near line no 80 on below mentioned file. (see attached screen shot.)
mytemplate/html/com_payplans/_plg/payplans/pdfinvoice/default_pdfcontent.php

<h2 style="text-align: center;"><?php echo $this->loadTemplate('partial_extra_details', compact('invoice')); ?></h2>
<hr />


You can't call load template function directly in template, if you want to show partial extra details template here then you need to use the code as

<?php echo XiHelperTemplate::partial('default_partial_extra_details', array('invoice'=>$invoice)); ?>


Please remove the function in your override and do the changes accordingly.

Let me know if you still have any issue.
·
Tuesday, 16 October 2018 11:07
·
0 Likes
·
0 Votes
·
0 Comments
·
very good workes perfect thanks
·
Wednesday, 17 October 2018 03:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Christian,

You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Wednesday, 17 October 2018 10:31
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post