A list of supported parameters that can be found under the Appearance section of the Preferences window.

Theme

The colors scheme that will be used by the program itself. This parameter supports 3 different options:

  • Automatic
  • Light
  • Dark

Select Automatic to use the proper theme according to the preferred options defined on your computer.

Print

Select here the type of layout that will be used while printing an order or a reservation. A layout is a graphical representation/scheme of a document to print. This parameter supports the following layouts:

  • HTML - same as the e-mail template received by the administrator;
  • Text - a simplified representation of the order/reservation;
  • Food Only - equals to "Text" option, but including less details.

You are free to customize these layouts directly from the back-end of VikRestaurants. Here's the path containing all the layouts supported by the component:
/components/com_vikrestaurants/layouts/api/order/

Take a look at the article mentioned in the See Also section to understand how to safely override those layout files.

Preview

Same as the previous parameter, with the difference that the layout selected here will be shown as preview of the order/reservation. This parameter supports the following layouts:

  • HTML - same as the e-mail template received by the administrator;
  • Text - a simplified representation of the order/reservation;
  • JSON - the details of the order/reservation encoded in JSON format (useful for developers only).

CSS Style

A code editor useful to apply some CSS rule to the documents to print. Before scheduling the printing job, the application will include the style defined here within the head of the document to print.

The following example will use a smaller size for the font of the document:

body {
    font-size: 10px;
}
small {
    font-size: 8px;
}
Last Update: 2021-03-04 10:20
Helpful?
100% of people found this helpful.
This site uses cookies. By continuing to browse you accept their use. Further information