Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
6000_case_study:0400_configuration:0900_fine_tuning:0100_documents [2026/08/13 00:55] – ↷ Links adapted because of a move operation localdev6000_case_study:0400_configuration:0900_fine_tuning:0100_documents [2026/08/13 07:20] (current) – external edit 127.0.0.1
Line 32: Line 32:
 The page that will be displayed if the user asks for the receipt will be represented by an HTML document. We add the new document to our configuration in much the same way we have defined our reports. The difference is that the type of the document is “HTML” and that we prepare the document template not in the Report Designer but in any HTML editor of our choice. We define a new document of the HTML type, enter its name “Payment receipt” and click on the “Import” button on the documents editor to import the layout of the page that we have prepared in the HTML editor. We need to put all the layout files (including the HTML file and any images and/or styles) into a separate directory and specify the name of this directory when we import the layout. You can have a look at the layout of the “Payment receipt” document in the configuration of the Library application located in the “samples” directory of your //**AwareIM**// installation.  The page that will be displayed if the user asks for the receipt will be represented by an HTML document. We add the new document to our configuration in much the same way we have defined our reports. The difference is that the type of the document is “HTML” and that we prepare the document template not in the Report Designer but in any HTML editor of our choice. We define a new document of the HTML type, enter its name “Payment receipt” and click on the “Import” button on the documents editor to import the layout of the page that we have prepared in the HTML editor. We need to put all the layout files (including the HTML file and any images and/or styles) into a separate directory and specify the name of this directory when we import the layout. You can have a look at the layout of the “Payment receipt” document in the configuration of the Library application located in the “samples” directory of your //**AwareIM**// installation. 
  
-<callout type="primary" icon="true" title="note"> The document expects the ''Payment'' object to be in the context of any operation that is using the document.</callout> +<alert type="primary" icon="fa info-circle"> 
 +**note** 
 + 
 + The document expects the ''Payment'' object to be in the context of any operation that is using the document.</alert> 
  
 Now we need to modify our [[6000_case_study:0400_configuration:0700_operations:1500_register_payment|RegisterPayment]] process to: Now we need to modify our [[6000_case_study:0400_configuration:0700_operations:1500_register_payment|RegisterPayment]] process to:
Line 49: Line 52:
 IF Question.Reply = 'Yes' THEN DISPLAY DOCUMENT 'Payment receipt' </code> IF Question.Reply = 'Yes' THEN DISPLAY DOCUMENT 'Payment receipt' </code>
  
-<callout type="primary" icon="true" title="note"> The first action puts the ''Payment'' object that the “Payment receipt” document expects in the context.</callout> +<alert type="primary" icon="fa info-circle"> 
 +**note** 
 + 
 + The first action puts the ''Payment'' object that the “Payment receipt” document expects in the context.</alert>