Debian Codegraph @

addons/point_of_sale/static/src/customer_display/customer_facing_qr.js

raw
1 import { Component } from "@odoo/owl";
2 import { Dialog } from "@web/core/dialog/dialog";
3 import { _t } from "@web/core/l10n/translation";
4
5 export class CustomerFacingQR extends Component {
6 static template = "point_of_sale.CustomerFacingQR";
7 static components = { Dialog };
8 static props = {
9 qrCode: String,
10 name: String,
11 amount: String,
12 close: Function,
13 };
14
15 setup() {
16 this.title = _t("Please scan the QR code with %s", this.props.name);
17 }
18 }