|
@@ -398,6 +398,7 @@ const openDialog = (contract = null) => {
|
|
|
|
|
|
|
|
const statusColor = (status) => {
|
|
const statusColor = (status) => {
|
|
|
if (status === "active") return "positive";
|
|
if (status === "active") return "positive";
|
|
|
|
|
+ if (status === "pending") return "warning";
|
|
|
if (status === "frozen") return "info";
|
|
if (status === "frozen") return "info";
|
|
|
if (status === "cancelled") return "negative";
|
|
if (status === "cancelled") return "negative";
|
|
|
|
|
|
|
@@ -406,6 +407,7 @@ const statusColor = (status) => {
|
|
|
|
|
|
|
|
const statusLabel = (status) => {
|
|
const statusLabel = (status) => {
|
|
|
if (status === "active") return "Ativo";
|
|
if (status === "active") return "Ativo";
|
|
|
|
|
+ if (status === "pending") return "Pendente";
|
|
|
if (status === "frozen") return "Trancado";
|
|
if (status === "frozen") return "Trancado";
|
|
|
if (status === "cancelled") return "Cancelado";
|
|
if (status === "cancelled") return "Cancelado";
|
|
|
|
|
|