Spaces:
Sleeping
Sleeping
File size: 14,211 Bytes
9962ce3 756bc21 9962ce3 756bc21 9962ce3 8d20770 9962ce3 8f5c70d 8d20770 8f5c70d 8d20770 8f5c70d 8d20770 8f5c70d 8d20770 8f5c70d e7d310d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 |
chunk-276SZO74.js?v=02c37274:21551 Download the React DevTools for a better development experience: https://reactjs.org/link/react-devtools
core.ts:169 %cGET%c https://kamau1-swiftops-backend.hf.space/api/v1/auth/me
react-router-dom.js?v=02c37274:4393 ⚠️ React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition.
warnOnce @ react-router-dom.js?v=02c37274:4393
logDeprecation @ react-router-dom.js?v=02c37274:4396
logV6DeprecationWarnings @ react-router-dom.js?v=02c37274:4399
(anonymous) @ react-router-dom.js?v=02c37274:5271
commitHookEffectListMount @ chunk-276SZO74.js?v=02c37274:16915
commitPassiveMountOnFiber @ chunk-276SZO74.js?v=02c37274:18156
commitPassiveMountEffects_complete @ chunk-276SZO74.js?v=02c37274:18129
commitPassiveMountEffects_begin @ chunk-276SZO74.js?v=02c37274:18119
commitPassiveMountEffects @ chunk-276SZO74.js?v=02c37274:18109
flushPassiveEffectsImpl @ chunk-276SZO74.js?v=02c37274:19490
flushPassiveEffects @ chunk-276SZO74.js?v=02c37274:19447
(anonymous) @ chunk-276SZO74.js?v=02c37274:19328
workLoop @ chunk-276SZO74.js?v=02c37274:197
flushWork @ chunk-276SZO74.js?v=02c37274:176
performWorkUntilDeadline @ chunk-276SZO74.js?v=02c37274:384
react-router-dom.js?v=02c37274:4393 ⚠️ React Router Future Flag Warning: Relative route resolution within Splat routes is changing in v7. You can use the `v7_relativeSplatPath` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath.
warnOnce @ react-router-dom.js?v=02c37274:4393
logDeprecation @ react-router-dom.js?v=02c37274:4396
logV6DeprecationWarnings @ react-router-dom.js?v=02c37274:4402
(anonymous) @ react-router-dom.js?v=02c37274:5271
commitHookEffectListMount @ chunk-276SZO74.js?v=02c37274:16915
commitPassiveMountOnFiber @ chunk-276SZO74.js?v=02c37274:18156
commitPassiveMountEffects_complete @ chunk-276SZO74.js?v=02c37274:18129
commitPassiveMountEffects_begin @ chunk-276SZO74.js?v=02c37274:18119
commitPassiveMountEffects @ chunk-276SZO74.js?v=02c37274:18109
flushPassiveEffectsImpl @ chunk-276SZO74.js?v=02c37274:19490
flushPassiveEffects @ chunk-276SZO74.js?v=02c37274:19447
(anonymous) @ chunk-276SZO74.js?v=02c37274:19328
workLoop @ chunk-276SZO74.js?v=02c37274:197
flushWork @ chunk-276SZO74.js?v=02c37274:176
performWorkUntilDeadline @ chunk-276SZO74.js?v=02c37274:384
core.ts:169 GET https://kamau1-swiftops-backend.hf.space/api/v1/auth/me → 200 (967ms)
core.ts:169 %cGET%c https://kamau1-swiftops-backend.hf.space/api/v1/auth/me/preferences
Index.tsx:37 ProjectOverview Page Loaded (New Implementation)
core.ts:119 ℹ️ [11:41:55] [COMPONENT] ProjectOverview: Fetching project overview data {projectId: '0ade6bd1-e492-4e25-b681-59f42058d29a'}
core.ts:169 %cGET%c https://kamau1-swiftops-backend.hf.space/api/v1/projects/0ade6bd1-e492-4e25-b681-59f42058d29a/overview?
Index.tsx:37 ProjectOverview Page Loaded (New Implementation)
core.ts:169 GET https://kamau1-swiftops-backend.hf.space/api/v1/auth/me/preferences → 200 (591ms)
core.ts:169 GET https://kamau1-swiftops-backend.hf.space/api/v1/projects/0ade6bd1-e492-4e25-b681-59f42058d29a/overview? → 200 (664ms)
core.ts:119 ℹ️ [11:41:56] [COMPONENT] ProjectOverview: Project overview data loaded {regionsCount: 3, hasInvolvement: false}
Index.tsx:37 ProjectOverview Page Loaded (New Implementation)
Index.tsx:37 ProjectOverview Page Loaded (New Implementation)
Index.tsx:37 ProjectOverview Page Loaded (New Implementation)
Index.tsx:37 ProjectOverview Page Loaded (New Implementation)
core.ts:119 ℹ️ [11:45:07] [COMPONENT] AppLauncher: App clicked {appCode: 'invoicing', route: '/invoicing', primaryProject: '0ade6bd1-e492-4e25-b681-59f42058d29a', currentPath: '/project/0ade6bd1-e492-4e25-b681-59f42058d29a/overview', metaApps: Array(6)}
core.ts:119 ℹ️ [11:45:07] [COMPONENT] AppLauncher: Navigation decision {hasProject: true, isInProjectContext: true, isMetaApp: false, appCode: 'invoicing', metaApps: Array(6)}
core.ts:119 ℹ️ [11:45:07] [COMPONENT] AppLauncher: Navigating to project-scoped route {projectRoute: '/project/0ade6bd1-e492-4e25-b681-59f42058d29a/invoicing', appCode: 'invoicing'}
core.ts:169 %cGET%c https://kamau1-swiftops-backend.hf.space/api/v1/contractor-invoices/stats?project_id=0ade6bd1-e492-4e25-b681-59f42058d29a
core.ts:169 %cGET%c https://kamau1-swiftops-backend.hf.space/api/v1/contractor-invoices?project_id=0ade6bd1-e492-4e25-b681-59f42058d29a
core.ts:169 GET https://kamau1-swiftops-backend.hf.space/api/v1/contractor-invoices/stats?project_id=0ade6bd1-e492-4e25-b681-59f42058d29a → 200 (1.60s)
core.ts:169 GET https://kamau1-swiftops-backend.hf.space/api/v1/contractor-invoices?project_id=0ade6bd1-e492-4e25-b681-59f42058d29a → 200 (1.64s)
core.ts:169 %cGET%c https://kamau1-swiftops-backend.hf.space/api/v1/invoices/available-tickets?project_id=0ade6bd1-e492-4e25-b681-59f42058d29a&contractor_id=auto
core.ts:169 GET https://kamau1-swiftops-backend.hf.space/api/v1/invoices/available-tickets?project_id=0ade6bd1-e492-4e25-b681-59f42058d29a&contractor_id=auto → 200 (698ms)
core.ts:169 %cPOST%c https://kamau1-swiftops-backend.hf.space/api/v1/invoices/generate
api-client.ts:124 POST https://kamau1-swiftops-backend.hf.space/api/v1/invoices/generate 500 (Internal Server Error)
request @ api-client.ts:124
post @ api-client.ts:213
generateInvoice @ invoice.service.ts:40
mutationFn @ useInvoices.ts:44
fn @ @tanstack_react-query.js?v=02c37274:1236
run @ @tanstack_react-query.js?v=02c37274:513
start @ @tanstack_react-query.js?v=02c37274:555
execute @ @tanstack_react-query.js?v=02c37274:1272
await in execute
mutate @ @tanstack_react-query.js?v=02c37274:2692
handleCreate @ GenerateInvoicePage.tsx:52
callCallback2 @ chunk-276SZO74.js?v=02c37274:3674
invokeGuardedCallbackDev @ chunk-276SZO74.js?v=02c37274:3699
invokeGuardedCallback @ chunk-276SZO74.js?v=02c37274:3733
invokeGuardedCallbackAndCatchFirstError @ chunk-276SZO74.js?v=02c37274:3736
executeDispatch @ chunk-276SZO74.js?v=02c37274:7014
processDispatchQueueItemsInOrder @ chunk-276SZO74.js?v=02c37274:7034
processDispatchQueue @ chunk-276SZO74.js?v=02c37274:7043
dispatchEventsForPlugins @ chunk-276SZO74.js?v=02c37274:7051
(anonymous) @ chunk-276SZO74.js?v=02c37274:7174
batchedUpdates$1 @ chunk-276SZO74.js?v=02c37274:18913
batchedUpdates @ chunk-276SZO74.js?v=02c37274:3579
dispatchEventForPluginEventSystem @ chunk-276SZO74.js?v=02c37274:7173
dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay @ chunk-276SZO74.js?v=02c37274:5478
dispatchEvent @ chunk-276SZO74.js?v=02c37274:5472
dispatchDiscreteEvent @ chunk-276SZO74.js?v=02c37274:5449
core.ts:169 POST https://kamau1-swiftops-backend.hf.space/api/v1/invoices/generate → 500 (1.27s)
core.ts:169 %cPOST%c https://kamau1-swiftops-backend.hf.space/api/v1/invoices/generate
api-client.ts:124 POST https://kamau1-swiftops-backend.hf.space/api/v1/invoices/generate 500 (Internal Server Error)
request @ api-client.ts:124
post @ api-client.ts:213
generateInvoice @ invoice.service.ts:40
mutationFn @ useInvoices.ts:44
fn @ @tanstack_react-query.js?v=02c37274:1236
run @ @tanstack_react-query.js?v=02c37274:513
(anonymous) @ @tanstack_react-query.js?v=02c37274:538
Promise.then
(anonymous) @ @tanstack_react-query.js?v=02c37274:534
Promise.catch
run @ @tanstack_react-query.js?v=02c37274:517
start @ @tanstack_react-query.js?v=02c37274:555
execute @ @tanstack_react-query.js?v=02c37274:1272
await in execute
mutate @ @tanstack_react-query.js?v=02c37274:2692
handleCreate @ GenerateInvoicePage.tsx:52
callCallback2 @ chunk-276SZO74.js?v=02c37274:3674
invokeGuardedCallbackDev @ chunk-276SZO74.js?v=02c37274:3699
invokeGuardedCallback @ chunk-276SZO74.js?v=02c37274:3733
invokeGuardedCallbackAndCatchFirstError @ chunk-276SZO74.js?v=02c37274:3736
executeDispatch @ chunk-276SZO74.js?v=02c37274:7014
processDispatchQueueItemsInOrder @ chunk-276SZO74.js?v=02c37274:7034
processDispatchQueue @ chunk-276SZO74.js?v=02c37274:7043
dispatchEventsForPlugins @ chunk-276SZO74.js?v=02c37274:7051
(anonymous) @ chunk-276SZO74.js?v=02c37274:7174
batchedUpdates$1 @ chunk-276SZO74.js?v=02c37274:18913
batchedUpdates @ chunk-276SZO74.js?v=02c37274:3579
dispatchEventForPluginEventSystem @ chunk-276SZO74.js?v=02c37274:7173
dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay @ chunk-276SZO74.js?v=02c37274:5478
dispatchEvent @ chunk-276SZO74.js?v=02c37274:5472
dispatchDiscreteEvent @ chunk-276SZO74.js?v=02c37274:5449
core.ts:169 POST https://kamau1-swiftops-backend.hf.space/api/v1/invoices/generate → 500 (377ms)
GenerateInvoicePage.tsx:61 APIError: Request failed
at APIClient.request (api-client.ts:158:15)
at async Object.generateInvoice (invoice.service.ts:40:22)
handleCreate @ GenerateInvoicePage.tsx:61
await in handleCreate
callCallback2 @ chunk-276SZO74.js?v=02c37274:3674
invokeGuardedCallbackDev @ chunk-276SZO74.js?v=02c37274:3699
invokeGuardedCallback @ chunk-276SZO74.js?v=02c37274:3733
invokeGuardedCallbackAndCatchFirstError @ chunk-276SZO74.js?v=02c37274:3736
executeDispatch @ chunk-276SZO74.js?v=02c37274:7014
processDispatchQueueItemsInOrder @ chunk-276SZO74.js?v=02c37274:7034
processDispatchQueue @ chunk-276SZO74.js?v=02c37274:7043
dispatchEventsForPlugins @ chunk-276SZO74.js?v=02c37274:7051
(anonymous) @ chunk-276SZO74.js?v=02c37274:7174
batchedUpdates$1 @ chunk-276SZO74.js?v=02c37274:18913
batchedUpdates @ chunk-276SZO74.js?v=02c37274:3579
dispatchEventForPluginEventSystem @ chunk-276SZO74.js?v=02c37274:7173
dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay @ chunk-276SZO74.js?v=02c37274:5478
dispatchEvent @ chunk-276SZO74.js?v=02c37274:5472
dispatchDiscreteEvent @ chunk-276SZO74.js?v=02c37274:5449
core.ts:169 %cPOST%c https://kamau1-swiftops-backend.hf.space/api/v1/invoices/generate
core.ts:169 POST https://kamau1-swiftops-backend.hf.space/api/v1/invoices/generate → 200 (1.24s)
core.ts:169 %cGET%c https://kamau1-swiftops-backend.hf.space/api/v1/invoices/available-tickets?project_id=0ade6bd1-e492-4e25-b681-59f42058d29a&contractor_id=auto
core.ts:169 GET https://kamau1-swiftops-backend.hf.space/api/v1/invoices/available-tickets?project_id=0ade6bd1-e492-4e25-b681-59f42058d29a&contractor_id=auto → 200 (385ms)
core.ts:169 %cGET%c https://kamau1-swiftops-backend.hf.space/api/v1/contractor-invoices?project_id=0ade6bd1-e492-4e25-b681-59f42058d29a
core.ts:169 GET https://kamau1-swiftops-backend.hf.space/api/v1/contractor-invoices?project_id=0ade6bd1-e492-4e25-b681-59f42058d29a → 200 (325ms)
core.ts:169 %cGET%c https://kamau1-swiftops-backend.hf.space/api/v1/contractor-invoices/7898d9a0-4a75-4477-8352-3de185dfd52a
api-client.ts:124 GET https://kamau1-swiftops-backend.hf.space/api/v1/contractor-invoices/7898d9a0-4a75-4477-8352-3de185dfd52a 500 (Internal Server Error)
request @ api-client.ts:124
get @ api-client.ts:202
getInvoiceById @ invoice.service.ts:30
queryFn @ useInvoices.ts:24
fetchFn @ @tanstack_react-query.js?v=02c37274:881
run @ @tanstack_react-query.js?v=02c37274:513
start @ @tanstack_react-query.js?v=02c37274:555
fetch @ @tanstack_react-query.js?v=02c37274:969
executeFetch_fn @ @tanstack_react-query.js?v=02c37274:2280
onSubscribe @ @tanstack_react-query.js?v=02c37274:1983
subscribe @ @tanstack_react-query.js?v=02c37274:24
(anonymous) @ @tanstack_react-query.js?v=02c37274:3147
subscribeToStore @ chunk-276SZO74.js?v=02c37274:11984
commitHookEffectListMount @ chunk-276SZO74.js?v=02c37274:16915
commitPassiveMountOnFiber @ chunk-276SZO74.js?v=02c37274:18156
commitPassiveMountEffects_complete @ chunk-276SZO74.js?v=02c37274:18129
commitPassiveMountEffects_begin @ chunk-276SZO74.js?v=02c37274:18119
commitPassiveMountEffects @ chunk-276SZO74.js?v=02c37274:18109
flushPassiveEffectsImpl @ chunk-276SZO74.js?v=02c37274:19490
flushPassiveEffects @ chunk-276SZO74.js?v=02c37274:19447
(anonymous) @ chunk-276SZO74.js?v=02c37274:19328
workLoop @ chunk-276SZO74.js?v=02c37274:197
flushWork @ chunk-276SZO74.js?v=02c37274:176
performWorkUntilDeadline @ chunk-276SZO74.js?v=02c37274:384
core.ts:169 GET https://kamau1-swiftops-backend.hf.space/api/v1/contractor-invoices/7898d9a0-4a75-4477-8352-3de185dfd52a → 500 (651ms)
core.ts:169 %cGET%c https://kamau1-swiftops-backend.hf.space/api/v1/contractor-invoices/7898d9a0-4a75-4477-8352-3de185dfd52a
api-client.ts:124 GET https://kamau1-swiftops-backend.hf.space/api/v1/contractor-invoices/7898d9a0-4a75-4477-8352-3de185dfd52a 500 (Internal Server Error)
request @ api-client.ts:124
get @ api-client.ts:202
getInvoiceById @ invoice.service.ts:30
queryFn @ useInvoices.ts:24
fetchFn @ @tanstack_react-query.js?v=02c37274:881
run @ @tanstack_react-query.js?v=02c37274:513
(anonymous) @ @tanstack_react-query.js?v=02c37274:538
Promise.then
(anonymous) @ @tanstack_react-query.js?v=02c37274:534
Promise.catch
run @ @tanstack_react-query.js?v=02c37274:517
start @ @tanstack_react-query.js?v=02c37274:555
fetch @ @tanstack_react-query.js?v=02c37274:969
executeFetch_fn @ @tanstack_react-query.js?v=02c37274:2280
onSubscribe @ @tanstack_react-query.js?v=02c37274:1983
subscribe @ @tanstack_react-query.js?v=02c37274:24
(anonymous) @ @tanstack_react-query.js?v=02c37274:3147
subscribeToStore @ chunk-276SZO74.js?v=02c37274:11984
commitHookEffectListMount @ chunk-276SZO74.js?v=02c37274:16915
commitPassiveMountOnFiber @ chunk-276SZO74.js?v=02c37274:18156
commitPassiveMountEffects_complete @ chunk-276SZO74.js?v=02c37274:18129
commitPassiveMountEffects_begin @ chunk-276SZO74.js?v=02c37274:18119
commitPassiveMountEffects @ chunk-276SZO74.js?v=02c37274:18109
flushPassiveEffectsImpl @ chunk-276SZO74.js?v=02c37274:19490
flushPassiveEffects @ chunk-276SZO74.js?v=02c37274:19447
(anonymous) @ chunk-276SZO74.js?v=02c37274:19328
workLoop @ chunk-276SZO74.js?v=02c37274:197
flushWork @ chunk-276SZO74.js?v=02c37274:176
performWorkUntilDeadline @ chunk-276SZO74.js?v=02c37274:384
core.ts:169 GET https://kamau1-swiftops-backend.hf.space/api/v1/contractor-invoices/7898d9a0-4a75-4477-8352-3de185dfd52a → 500 (451ms)
|