| @@ -132,8 +132,13 @@ | ||
| 132 | 132 | className: |
| 133 | 133 | "bg-yellow-100 text-yellow-700 dark:bg-yellow-900/20 dark:text-yellow-400", |
| 134 | 134 | label: __("Responded", "yatra"), |
| 135 | 135 | }, |
| 136 | + completed: { | |
| 137 | + className: | |
| 138 | + "bg-teal-100 text-teal-700 dark:bg-teal-900/20 dark:text-teal-400", | |
| 139 | + label: __("Completed", "yatra"), | |
| 140 | + }, | |
| 136 | 141 | converted: { |
| 137 | 142 | className: |
| 138 | 143 | "bg-green-100 text-green-700 dark:bg-green-900/20 dark:text-green-400", |
| 139 | 144 | label: __("Converted", "yatra"), |
| @@ -304,8 +309,9 @@ | ||
| 304 | 309 | </Button> |
| 305 | 310 | <ConditionalRender capability="yatra_respond_to_enquiries"> |
| 306 | 311 | <div className="flex items-center gap-2"> |
| 307 | 312 | {enquiry.status !== "responded" && |
| 313 | + enquiry.status !== "completed" && | |
| 308 | 314 | enquiry.status !== "closed" && ( |
| 309 | 315 | <Button |
| 310 | 316 | variant="outline" |
| 311 | 317 | onClick={handleRespond} |