- Home
- Forum
- Community Forum
- Questions
- [Solved] Invoice PDF encoding problems in russian language
- Forum
- Community Forum
- Feature requests / Suggestions
- Implemented
- Show the number of guests on invoice_customer_pdf.php
Show the number of guests on invoice_customer_pdf.php
- gmonamour
- Topic Author
- Offline
Less
More
6 years 7 months ago - 6 years 7 months ago #10232
by gmonamour
My site with Solidres www.gmonamour.it/
Replied by gmonamour on topic Show the number of guests on invoice_customer_pdf.php
In the file invoice.php I addedAnd in the file invoice_customer_pdf.php
I get the id withIt seems to work.
Is that correct for you?
regards
'id' => $reid
$displayData = array(
'reservation' => $info[0],
'asset' => $asset,
'invoice_number' => $formatedNumber . $digit . $number,
'solidres_config' => $srconfig,
'timezone' => $timezone,
'direction' => $direction,
'id' => $reid
I get the id with
echo $displayData['id']
Is that correct for you?
regards
My site with Solidres www.gmonamour.it/
Last edit: 6 years 7 months ago by gmonamour.
Please Log in or Create an account to join the conversation.
- solidres
- Away
Less
More
- Posts: 2834
6 years 7 months ago #10240
by solidres
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
Replied by solidres on topic Show the number of guests on invoice_customer_pdf.php
Hi,
We are sorry but code modification is out of our support scope.
We offer Custom Development service if you want to hire our developers to modify the code for you.
Regards,
We are sorry but code modification is out of our support scope.
We offer Custom Development service if you want to hire our developers to modify the code for you.
Regards,
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
Please Log in or Create an account to join the conversation.
- gmonamour
- Topic Author
- Offline
6 years 7 months ago #10243
by gmonamour
My site with Solidres www.gmonamour.it/
Replied by gmonamour on topic Show the number of guests on invoice_customer_pdf.php
Ok, never mind.
I had more tests and it works fine.
So, for me it is OK.
Thanks, best regards
I had more tests and it works fine.
So, for me it is OK.
Thanks, best regards
My site with Solidres www.gmonamour.it/
Please Log in or Create an account to join the conversation.
- gmonamour
- Topic Author
- Offline
6 years 7 months ago #10245
by gmonamour
My site with Solidres www.gmonamour.it/
Replied by gmonamour on topic Show the number of guests on invoice_customer_pdf.php
Hi,
Is there a way to override the file
plugins > solidres > invoice > invoice.php ?
Thanks a lot
regards
Is there a way to override the file
plugins > solidres > invoice > invoice.php ?
Thanks a lot
regards
My site with Solidres www.gmonamour.it/
Please Log in or Create an account to join the conversation.
- gmonamour
- Topic Author
- Offline
6 years 7 months ago - 6 years 7 months ago #10264
by gmonamour
My site with Solidres www.gmonamour.it/
Replied by gmonamour on topic Show the number of guests on invoice_customer_pdf.php
Hi,
I've ended my test and my modification works only from backend. I suppose because it keep the number of persons from database. On fronted, when a user does a booking the database is not written yet. So the number of persons is null.
I'm tried to fix that but I'm not be able. I'll give up.
For the moment I'm going to send the correct invoice by backend with my current change.
But I think that to have the number of persons in the invoice could be useful for other user, so, if I don't bother you I'm going to write it on the request list.
Thanks a lot
best regard
I've ended my test and my modification works only from backend. I suppose because it keep the number of persons from database. On fronted, when a user does a booking the database is not written yet. So the number of persons is null.
I'm tried to fix that but I'm not be able. I'll give up.
For the moment I'm going to send the correct invoice by backend with my current change.
But I think that to have the number of persons in the invoice could be useful for other user, so, if I don't bother you I'm going to write it on the request list.
Thanks a lot
best regard
My site with Solidres www.gmonamour.it/
Last edit: 6 years 7 months ago by gmonamour.
Please Log in or Create an account to join the conversation.
- solidres
- Away
Less
More
- Posts: 2834
6 years 7 months ago #10272
by solidres
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
Replied by solidres on topic Show the number of guests on invoice_customer_pdf.php
Hi,
Yes, technically it is possible, you can write a new plugin to override it and hook it into the processing flow to replace the default one.
For front end, if you want to get the guest number, make sure that you hook into this event to make sure that everything is saved correctly first:
onReservationAfterSaveComplete()
Regards,
Yes, technically it is possible, you can write a new plugin to override it and hook it into the processing flow to replace the default one.
For front end, if you want to get the guest number, make sure that you hook into this event to make sure that everything is saved correctly first:
onReservationAfterSaveComplete()
Regards,
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
Please Log in or Create an account to join the conversation.
Moderators: solidres