> For the complete documentation index, see [llms.txt](https://docs.otherplanet.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.otherplanet.dev/scripts/op-courier-job/tablet-as-item.md).

# Tablet as item

{% tabs %}
{% tab title="ox\_inventory" %}
File Location: ox\_inventory/data/items.lua

Image Should Be placed in: ox\_inventory/web/images

```lua
["courier_tablet"] = {
    label = "Courier Tablet",
    weight = 1000,
    client = {
      event = "op-courier:openCourierTablet",
    }
},
```

{% endtab %}

{% tab title="qb-inventory" %}
File Location: qb-core/shared/items.lua

Image Should Be placed in: qb-inventory/html/images

```lua
courier_tablet = {
    name = "courier_tablet",
    label = "Courier Tablet",
    weight = 1000,
    type = 'item', 
    image = 'courier_tablet.png', -- Optional, if you want an image for it
    useable = true, 
    shouldClose = true, 
    client = {
      event = "op-courier:openCourierTablet",
    }
 },
```

{% endtab %}

{% tab title="Basic ESX" %}

## This is MySql insert.

```sql
INSERT INTO `items`(`name`, `label`, `weight`, `rare`, `can_remove`) VALUES ("courier_tablet", "Courier Tablet", 1, 0, 1)
```

{% endtab %}

{% tab title="quasar\_inventory" %}

```lua
['courier_tablet'] = {
    name = 'courier_tablet',
    label = 'Courier Tablet',
    weight = 5,
    type = 'item',
    image = 'courier_tablet.png', -- Optional, if you want an image for it,
    unique = false,
    useable = true,
    description = 'A tablet for courier job related tasks.',
    client = {
        export = 'op-courier.openCourierTablet'
    },
}
```

{% endtab %}
{% endtabs %}

## Optional Image:

<figure><img src="/files/ERIlIduTwnuOWAhmlLgP" alt=""><figcaption></figcaption></figure>
