client/webserver/site/src/js/order.js
/*
   * handleOrderNote is the handler for the 'order'-type notification, which are
   * used to update an order's status.
   */
handleOrderNote is the handler for the 'order'-type notification, which are
used to update an order's status.
handleOrderNote is the handler for the ' order ' - type notification which are used to update an order ' s status .
handleOrderNote (note) {
    const order = note.order
    const bttn = this.page.cancelBttn
    if (bttn && order.id === this.orderID) {
      if (bttn && order.status > Order.StatusBooked) Doc.hide(bttn)
      this.page.status.textContent = Order.statusString(order)
    }
  }
handleOrderNote ( note ) { const order = note . order const bttn = this . page . cancelBttn if ( bttn && order . id === this . orderID ) { if ( bttn && order . status > Order . StatusBooked ) Doc . hide ( bttn ) this . page . status . textContent = Order . statusString ( order ) } }
handleOrderNote is the handler for the 'order'-type notification, which are
 used to update an order's status.
handleOrderNote is the handler for the ' order ' - type notification which are used to update an order ' s status .