Lines 101-126
Link Here
|
101 |
:disabled="!selected_provider && !manual_form" |
101 |
:disabled="!selected_provider && !manual_form" |
102 |
/> |
102 |
/> |
103 |
</li> |
103 |
</li> |
104 |
<!-- <li> |
|
|
105 |
<label for="usage_data_provider_method" |
106 |
>{{ $__("Method") }}: |
107 |
</label> |
108 |
<input |
109 |
id="usage_data_provider_method" |
110 |
v-model="usage_data_provider.method" |
111 |
:disabled="!selected_provider && !manual_form" |
112 |
/> |
113 |
</li> |
114 |
<li> |
115 |
<label for="usage_data_provider_aggregator" |
116 |
>{{ $__("Aggregator") }}: |
117 |
</label> |
118 |
<input |
119 |
id="usage_data_provider_aggregator" |
120 |
v-model="usage_data_provider.aggregator" |
121 |
:disabled="!selected_provider && !manual_form" |
122 |
/> |
123 |
</li> --> |
124 |
<li> |
104 |
<li> |
125 |
<label for="usage_data_provider_service_type" |
105 |
<label for="usage_data_provider_service_type" |
126 |
>{{ $__("Service type") }}: |
106 |
>{{ $__("Service type") }}: |
Lines 393-399
import { setMessage, setWarning } from "../../messages"
Link Here
|
393 |
import { APIClient } from "../../fetch/api-client.js" |
373 |
import { APIClient } from "../../fetch/api-client.js" |
394 |
import { inject } from "vue" |
374 |
import { inject } from "vue" |
395 |
import { storeToRefs } from "pinia" |
375 |
import { storeToRefs } from "pinia" |
396 |
import flatPickr from "vue-flatpickr-component" |
|
|
397 |
|
376 |
|
398 |
export default { |
377 |
export default { |
399 |
setup() { |
378 |
setup() { |
Lines 429-435
export default {
Link Here
|
429 |
{ description: "Active", value: 1 }, |
408 |
{ description: "Active", value: 1 }, |
430 |
{ description: "Inactive", value: 0 }, |
409 |
{ description: "Inactive", value: 0 }, |
431 |
], |
410 |
], |
432 |
fp_config: flatpickr_defaults, |
|
|
433 |
registry_data: [], |
411 |
registry_data: [], |
434 |
valid_report_types: [...this.av_report_types], |
412 |
valid_report_types: [...this.av_report_types], |
435 |
selected_provider: null, |
413 |
selected_provider: null, |
Lines 623-629
export default {
Link Here
|
623 |
}, |
601 |
}, |
624 |
components: { |
602 |
components: { |
625 |
ButtonSubmit, |
603 |
ButtonSubmit, |
626 |
flatPickr, |
|
|
627 |
}, |
604 |
}, |
628 |
name: "UsageStatisticsDataProvidersFormAdd", |
605 |
name: "UsageStatisticsDataProvidersFormAdd", |
629 |
} |
606 |
} |
630 |
- |
|
|