## Assets

The **Assets** module is a register of specific pieces of equipment at your customers' sites — a boiler, an air conditioner, a machine, a laptop. Each asset has its own code, serial numbers, location, warranty dates and a history of the issues it appeared on. Assets are part of the [Service add-on](/service).

The asset list is available in the main menu under **Assets**.

{% callout title="Permissions" %}
In the **Assets** permission group: **Browse asset list**, **View asset**, **Add assets**, **Edit assets**, **Delete assets**. Maintenance plans have a separate group, **Maintenance plans**. More about add-on permissions in [Service add-on](/service).
{% /callout %}

## Asset list

The table shows: **Name**, **Customer**, **Catalog model**, **Serial number**, **Inventory number**, **Asset code**, **Warranty until** and **Status**. You can filter the list by name, customer, serial number, inventory number and status. Clicking a row opens the asset details.

You can also find assets with the search box in the top bar — the **Devices** section lists results matching the name, code, serial number, manufacturer number or inventory number. An exactly matching code is shown first.

| Status | Meaning |
|---|---|
| **Active** | The asset is in use at the customer's site |
| **Scrapped** | The asset has been taken out of service |
| **Returned** | The asset has been returned |

## Adding an asset

An asset is always added on the customer it belongs to:

1. Open the customer card and go to the **Assets** tab.
2. Click **Add asset**.
3. Fill in the form and click **Add**.

| Section | Field | Description |
|---|---|---|
| Identification | **Name** | Asset name shown in lists and on the label |
| | **Catalog model** | The catalog product this asset is a unit of (search from 3 characters) |
| | **Asset code** | Unique code of the unit — see below |
| | **Serial number** | Serial number of the unit |
| | **Manufacturer number** | Number assigned by the manufacturer |
| | **Inventory number** | Number in the customer's or your own records |
| | **Status** | Active, Scrapped, Returned |
| Location | **Address** | The customer's main address or one of their additional addresses |
| | **Exact spot** | E.g. boiler room, hall B, rack 3 |
| Dates | **Purchase date**, **Installation date**, **Warranty until** | Dates of the unit; **Warranty until** drives the warranty information on the issue |
| Notes | **Notes** | Any remarks |

Additional addresses (e.g. the customer's service sites) are added on the customer card in the **Addresses** tab. If the customer only has a main address, the address list shows just that one.

### Asset code

The **Asset code** identifies a specific unit — it is printed on the label and scanned when attaching the asset to an issue.

- Leave the field empty and a code will be generated (in the format `AST-…`).
- You can also enter your own code, e.g. the number from an existing sticker. The code cannot contain spaces or slashes and must be unique within the account — a duplicate shows the message *"This code is already used by another asset"*.
- Letter case matters: `AST-ab12` and `AST-AB12` are different codes.
- When editing, the code cannot be cleared — it is printed on the label, so changing it should be a deliberate decision.

## Asset details

The asset details page contains:

- the **Identification**, **Location**, **Dates** and **Notes** sections — the code can be copied with one click,
- the **Components** section,
- the **Maintenance plans** section,
- the **Issue history**.

The page header has the **Print label**, **Edit** and **Delete** actions. Deleting an asset does not change the issues it appeared on.

### Issue history

The **Issue history** lists every issue the asset has been attached to — technicians and the office can see what was done with this unit before. The history of a parent asset also includes the issues of its components; such an issue is marked *Component: …* with the component's name.

## Components

An asset can be made up of other assets — e.g. a cooling system with an outdoor and an indoor unit. Each component is a full asset with its own code, numbers, address and warranty.

On the asset details page, in the **Components** section, click **Add component** and search for or scan the code of an existing asset of **the same customer**. A component is detached with **Detach from the system** — the asset itself stays in the register. The component's page shows which system it belongs to (**Part of**).

Rules:

- there is only **one level** — a component cannot have components of its own, and an asset with components cannot become a component of another,
- a component and its system must belong to the same customer,
- deleting the system does not delete its components — they become standalone assets,
- a component's address and warranty are its own; they are not inherited from the system.

## Code label

The **Print label** button on the asset details page downloads a PDF with a **62 × 29 mm** label (a roll for label printers). The label shows a QR code, a barcode, the asset code, the asset name and your company name.

The QR code and the barcode contain **only the asset code**, not a link. This way a barcode reader that works like a keyboard types the code straight into the field on the issue or into the search box. The label layout is fixed and does not depend on templates.

## Assets on an issue

The **Assets** section appears on the issue details page when the **Assets** feature is enabled for the issue type (**System → Issue types → Edit Type → Service features**).

Each attached asset shows warranty information: *Warranty until …*, *Warranty expired …* or *No warranty data*.

### Attaching an asset (scanning a code)

In the **Scan or type a code** field:

- type at least 2 characters of the name, code or serial number and pick the asset from the suggestions, or
- scan the label with a reader (or type the full code) and press Enter — the asset with exactly that code is attached right away.

If the code is not in the register, you will see the message *"No asset found for code …"*.

Suggestions only show assets without a customer or belonging to the customer, distributor or service of this issue. Trying to attach someone else's asset ends with *"The asset belongs to a customer other than this issue's customer, distributor or service"*. The check only runs at the moment of attaching — changing the customer later does not detach the asset.

One asset can be attached to many issues, and one issue can have many assets. The **Remove from issue** button detaches the asset — the asset itself stays in the register.

Attaching and detaching are recorded in the issue history as *Asset added* / *Asset removed* with the name and code.

### Template variables

In [templates](/config/templates), the **Assets** section offers these variables:

| Variable | Description |
|---|---|
| `{{ issue_assets }}` | Assets of the issue — table |
| `{{ issue_assets_list }}` | Assets of the issue — list |

### Status page

On the [status page](/config/status-page) you can enable **Show the devices of the issue** (in the **Service data** section). The customer sees their assets only after verifying with the issue number and e-mail or phone, and only when the issue type has the **Assets** feature enabled.

## Maintenance plans

A maintenance plan keeps track of periodic inspections of an asset, e.g. every 6 or 12 months under a service contract. A plan always covers **one asset**.

### Adding a plan

On the asset details page, in the **Maintenance plans** section, click **Add plan**:

| Field | Description |
|---|---|
| **Name** | E.g. "Annual inspection" |
| **Issue type** | The type used for maintenance issues |
| **Every (months)** | Interval from 1 to 120 months |
| **Next due date** | Date of the next inspection |
| **Active** | An inactive plan does not appear in the list of maintenance to do |
| **Notes** | Any remarks |

Each plan shows its interval (*every 12 months*), the due date (*Next: …*, or *Overdue: …* once the date has passed) and the **Recent issues** created from the plan.

### Creating a maintenance issue

Maintenance issues are **not created automatically** — the person planning the work creates them:

1. Open the **Service** board and pick the **Maintenance** tab in the left panel. It lists maintenance due within the next 30 days and overdue maintenance — only from active plans and for assets with the **Active** status.
2. Next to the chosen item, click **Create issue**. A new issue form opens with the plan's issue type and the asset's customer selected.
3. Save the issue.

After saving, the asset is attached to the issue and the plan's **Next due date** moves forward by the interval — counted from the previous due date, not from the day the issue was created. Maintenance that is several months overdue moves forward one interval at a time. If the due date fell on a day that does not exist in the following month (e.g. the 31st), the last day of the month is used.

You add a service job to a maintenance issue like to any other issue — see [Service jobs](/service/jobs).

If linking to the plan fails, the issue is still saved and its details page shows a message:

| Message | Meaning |
|---|---|
| This maintenance date already has an issue — the plan date was not moved | Someone has already created an issue for this date |
| The issue customer differs from the device customer — the device was not attached, the plan date is unchanged | The customer in the form was changed to one other than the asset's customer |
| The plan is inactive — the date was not moved | The plan was deactivated in the meantime |
| The plan due date changed before the issue was saved — the plan is unchanged, check it on the device card | Someone changed the plan's due date manually while the issue was being created |

---

## FAQ

### Can I add an asset without a customer?
Not from the panel — an asset is added on the customer card, in the **Assets** tab.

### Can codes be scanned with a phone camera?
No. Codes are scanned with a reader (USB or Bluetooth) that types the code like a keyboard — in the **Scan or type a code** field on the issue or in the search box.

### What happens when I delete an asset?
The asset disappears from the register, but the issues it appeared on stay unchanged. If it had components, they become standalone assets.

### Will a maintenance plan create the issue by itself?
No. The plan shows maintenance to do in the **Maintenance** tab of the **Service** board, and the issue is created with the **Create issue** button.

### Can one plan cover several of the customer's assets?
No — a plan covers one asset. For several assets, add a plan on each of them.
