Both [REPAIR_CHECKLIST] and [CHECKLIST_PHOTOGRAPHS] tags are independently used whenever needed to show checklist elements and the checklist photographs in document templates.

Using [REPAIR_CHECKLIST]

The tag [REPAIR_CHECKLIST] can be used exactly like that without any attribute to show all the stages and elements in them including photographs. The tag gives you the flexibility to control the data you want to show in templates. There are several attributes that you can use – STAGE, COL, PHOTOS, and INSTRUCTIONS. These is suitable to use when you don’t want to show the whole checklist data but only only a part of it. When providing attributes, the STAGE is required with all of them.

[REPAIR_CHECKLIST] Attributes

  • STAGE – Default stages for repair checklists are “Pre Repair” and “Post Repair”. You can set the STAGE attribute to one at a time. e.g. [REPAIR_CHECKLIST STAGE="Pre Repair"]
  • COL – This attribute can be used to divide the checklist elements in a stage into x columns. By default the system divides the elements into 2 columns. Example usage [REPAIR_CHECKLIST STAGE="Pre Repair" COL="3"]
  • PHOTOS – By default the tag will show any photograph present in the checklist data. To prevent showing the photos, you can set this attribute to “No”. e.g. [REPAIR_CHECKLIST STAGE="Pre Repair" PHOTOS="No"]
  • INSTRUCTION – When using this attribute, the attributes COL and PHOTOS will be ignored. This is attribute is used to write instructions with the checklist elements. For example, in case you want to instruct the the other party about the checklist element, you can use it like this [REPAIR_CHECKLIST STAGE="Pre Repair" INSTRUCTION="Please make sure '%ITEM%' is returned with the unit."] The output will contain an unordered list of instructions repeated with the %ITEM% replaced with the checklist element.

Note: The tag [REPAIR_CHECKLIST] can be used multiple times in a template with different attribute set. For example if you want to apart the two stages in a template, the template content such as following can be useful.

Template Content
......
ASSET BEFORE REPAIR
[REPAIR_CHECKLIST STAGE="Pre Repair"]

Notes......
Futher content....

ASSET AFTER REPAIR
[REPAIR_CHECKLIST STAGE="Post Repair"]

Disclaimer.....

Customizing [REPAIR_CHECKLIST] Template Output with CSS

The tag [REPAIR_CHECKLIST] generates a structured HTML output for displaying repair checklist information in your documents. While the HTML structure remains consistent, you have the flexibility to customize its appearance using CSS. Below are guidelines on how you can apply custom styles with the recommended base #template container. Ensure the effective application of these styles by encapsulating your template within the <div id="template"></div>.

/* Custom styles for the entire template */
#template {
    font-family: 'Your Preferred Font', sans-serif;
    /* Additional global styles for the template container */
}

/* Custom styles for Repair Checklist Container */
#template .repair-checklist {
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    padding: 15px;
}

/* Custom styles for Panel Headers */
#template .panel-heading {
    background-color: #333;
    color: #fff;
}

/* Custom styles for Table Cells */
#template .table td {
    border: 1px solid #ddd;
    padding: 8px;
}

/* Custom styles for Checkist Photos */
#template .condition-figures {
    /* Your styles here */
}
#template .condition-figures figure { 
    /* Your styles here */
}
#template .condition-figures img {
    /* Your styles here */
}

Supported Templates

The tag [REPAIR_CHECKLIST] is supported in the following document templates.

  • Repair Intake Form
  • Repair Outtake Form
  • Repair Legal Document
  • Repair Service Level Agreement
  • Repair Insurance Document
  • Letter Template
  • Checklist Document
  • Warranty Card Document

Note: The tag [REPAIR_CHECKLIST] will only work if you have enable checklist visibility with a couple of more configuration options in your shop settings. To check the options, you need to go to Settings, switch to Ticket tab, scroll down to Custom Fields tab, switch to Checklist tab. Checklist Visible option must be turned on for the tag to work. If you still don’t see repair checklist in your documents, make sure another option Checklist Visible Status does not have any status specified. If a status is specified, only the tickets with this status will be showing the repair checklist.

Using [CHECKLIST_PHOTOGRAPHS]

In certain scenarios, there may be a requirement to omit the display of checklist stages or elements within a document. To address this need, the utilization of an alternative template tag becomes essential—namely, [CHECKLIST_PHOTOGRAPHS].

This template tag [CHECKLIST_PHOTOGRAPHS] is designed for simplicity within our system. It enables users to seamlessly incorporate photographs from a repair checklist into their documents.

By default, the template displays a maximum of two photos. However, users can employ the SHOWALL attribute to exhibit all available photographs. For instance, [CHECKLIST_PHOTOGRAPHS SHOWALL="Yes"].

Furthermore, the default presentation size of the photographs is small. Users can modify the size by utilizing the SIZE attribute with options such as small (default), medium, and large. An example usage is [CHECKLIST_PHOTOGRAPHS SHOWALL="Yes" SIZE="medium"].

Supported Templates

The tag [CHECKLIST_PHOTOGRAPHS] is supported in the following document templates.

  • Repair Intake Form
  • Repair Outtake Form
  • Repair Legal Document
  • Repair Service Level Agreement
  • Repair Insurance Document
  • Letter Template
  • Checklist Document
  • Warranty Card Document

Was this article helpful to you?

Khurram

Leave a Reply

You must be logged in to post a comment.