• Resolved stelakoulas

    (@stelakoulas)


    i am trying to create a file, being generated during reservation in which i would like to use some of the defaults fields and some custom ones.
    I want the file generated to include few things about the reservation (Driving license, name, dob, pickup dropoff date etc..).
    Is there a guide to that ? the documentation has very little info on how to do that, especially on how to use custom fields on the pdf files.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author e4jvikwp

    (@e4jvikwp)

    Thanks for your message. We understand what you’re looking for, and our documentation does not say much about the customization for the default PDF documents, especially because this is something pretty technical that requires to be familiar with PHP coding.

    Adding the generation of a new custom PDF document would require changes to be made on core files, and so this is strongly discouraged, especially because by installing any future update for our plugin all of your changes would go lost. Instead, if you are looking to customize the existing PDF document for the contract/agreement that gets automatically generated whenever a rental order gets confirmed (maybe after a successful payment), then you can use the apposite tool in the Configuration page to edit the template file for the contract. Our suggestion in this case is to debug the content of the available variables, objects and arrays directly in the source code of the template file.

    We invite you to get in touch with our team through our websites should you have any technical questions.

    Thank you,
    The VikWP Team

    Thread Starter stelakoulas

    (@stelakoulas)

    are you planning on adding such feature?

    Plugin Author e4jvikwp

    (@e4jvikwp)

    Hello,

    The PDF for the contract/agreement that gets generated upon the confirmation of a rental order is fully customizable. Also, there are a few native hooks within VikRentCar that could be used to add attachments to the default confirmation email message, and such hooks could be used even to generate an additional PDF document, if needed.

    For these reasons, we probably don’t see the need of adding such feature in the future versions of the plugin, because customizing the existing PDF document, or attaching additional documents to the default confirmation email message, should cover pretty much any kind of needs.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Contract Generate’ is closed to new replies.