# The Calendar doesn't update color for booking

**1:** When a customer uses "Blank Transfer" gateway, the system will default Order Status "on hold", so the calendar doesn't display color of the date booked and the other customers still can book that date.

If you still want the calendar to display color of the date booked when the order status is "on hold"( It means the other customers can't book that date ), you can add bellow code to functions.php file in theme.

```
add_filter( 'brw_list_order_status', function(){ return array( 'wc-completed', 'wc-processing', 'wc-on-hold' ); } );
```

**2:** If you want the calendar to display color of the date booked when the order status is only "Completed", you can add bellow code to functions.php file in theme.

```html
add_filter( 'brw_list_order_status', function(){ return array( 'wc-completed' ); } );
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ovatheme.gitbook.io/brw/faqs/the-calendar-doesnt-update-color-for-booking.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
