|
|
@@ -72,7 +72,7 @@ const CostAndExpenseReport: React.FC<Props> = ({ team, customer, subsidiary, nee |
|
|
|
let postData: CostAndExpenseReportRequest = { |
|
|
|
teamId: null, |
|
|
|
clientId: null, |
|
|
|
budgetPercentage: null, |
|
|
|
budgetPercentage: 0.99, |
|
|
|
type: "all" |
|
|
|
} |
|
|
|
console.log(query.budgetPercentage) |
|
|
@@ -88,7 +88,7 @@ const CostAndExpenseReport: React.FC<Props> = ({ team, customer, subsidiary, nee |
|
|
|
postData.type = customerIndex >= 0 ? "client" : subsidiaryIndex >= 0 ? "subsidiary" : "all" |
|
|
|
} |
|
|
|
if (Boolean(query.budgetPercentage)) { |
|
|
|
postData.budgetPercentage = query.budgetPercentage/100 |
|
|
|
postData.budgetPercentage = query.budgetPercentage / 100 |
|
|
|
} |
|
|
|
console.log(postData) |
|
|
|
const response = await fetchCostAndExpenseReport(postData) |
|
|
|