-
+
-
+
-
+
-
Tuesday
-
+
-
+
-
+
Wednesday
-
+
-
+
-
+
-
+
-
+
-
+
-
-
+
-
@@ -212,10 +212,10 @@
-
+
-
+
-
+
-
Tuesday
-
+
-
+
-
+
Wednesday
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -543,7 +543,7 @@
@@ -627,9 +627,9 @@
-
+
-
+
@@ -653,7 +653,7 @@ export default {
results: null,
showEstimatorResults: false,
showParentFeeApprovedFor: false,
- showPartTimeCareSchedule: false,
+ showPartTimeCareSchedule: false,
careTypes: [
{type: 'No Care'},
{type: 'Half Day'},
@@ -711,7 +711,7 @@ export default {
// ],
rulesCaresSchedule: [
(v) => !!v || 'Care schedule is required'
- ],
+ ],
rulesChildsAgeCategory: [
(v) => !!v || 'Child\'s age category is required'
],
@@ -770,7 +770,7 @@ export default {
},
newChild(number) {
return {
- number: number,
+ number: number,
childAgeCategory: '',
approvedFee: '',
partTimeFee: '',
@@ -820,7 +820,7 @@ export default {
}
// console.log('getPartTimeMonthlyParentFee-Unable to determine feeFrequency:' + feeFrequency);
return null;
- },
+ },
estimateTheBenefit() {
if (this.$refs.form.validate() == true) {
@@ -832,16 +832,16 @@ export default {
// const result = this.numberOfBusinessDaysByMonth.find(c => c.month === this.form.month);
// var numberOfDaysForMonth = result.days;
var numberOfDaysForMonth = 20; // hardcode to 20 as per new requirements
-
+
//for (child in this.form.children) {
- for (var i = 0; i < this.children.length; i++) {
+ for (var i = 0; i < this.children.length; i++) {
// Get the rate table info based on the provided type of child care and childs age category...
if (this.form.typeOfCare === 'Licensed Group') {
rateTableInfo = this.GROUP_REDUCTION_RATES.get(this.children[i].childAgeCategory);
} else if (this.form.typeOfCare === 'Licensed Family') {
rateTableInfo = this.FAMILY_REDUCTION_RATES.get(this.children[i].childAgeCategory);
}
-
+
// Determine daily rate before fee reduction based on frequency of fee...
var parentRate;
var isChildFullTime = this.isFullTime(this.children[i]);
@@ -865,7 +865,7 @@ export default {
break;
}
// console.log('daily parent rates i: ' + dailyRate);
-
+
// Determine the daily rates for partTime and fulltime based on the number of days in month...
let partTimeRateFromTable;
let fullTimeRateFromTable;
@@ -877,7 +877,7 @@ export default {
fullTimeRateFromTable = rateTableInfo.fullTime20;
}
-
+
let partTimeTotal;
let partTimeDailyRate;
let fullTimeTotal;
@@ -905,7 +905,7 @@ export default {
totalRateReduction = Math.min(totalRateReduction, monthlyParentFee);
reductionAmountPerChild = totalRateReduction;
-
+
if (this.children[i].partTimeFee) {
monthlyParentFee = this.getFullTimeMonthlyParentFee(this.children[i].partTimeFee, this.children[i].parentFeeFrequency);
}
@@ -935,7 +935,7 @@ export default {
fullTimeDailyRate = ((dailyRate - 10) > fullTimeRateFromTable) ? fullTimeRateFromTable : (dailyRate - 10);
// console.log('fullTimeDailyRate' + fullTimeDailyRate);
fullTimeTotal = fullTimeDailyRate * fullTimeNumberOfDays;
-
+
totalRateReduction = partTimeTotal+fullTimeTotal;
let rateReductionFloor = this.getReductionFloor(rateTableInfo.rateFloor, fullTimeNumberOfDays, partTimeNumberOfDays);
let monthlyParentFee = this.getPartTimeMonthlyParentFee(this.children[i].partTimeFee, partTimeNumberOfDays + fullTimeNumberOfDays, this.children[i].parentFeeFrequency);
@@ -949,7 +949,7 @@ export default {
//Make sure it's not more than the parent fee
totalRateReduction = Math.min(totalRateReduction, monthlyParentFee);
-
+
let partTimeFeeFloor = (fullTimeNumberOfDays * 10) + (partTimeNumberOfDays * 7);
// console.log('part time fee floor: ' + partTimeFeeFloor);
@@ -982,10 +982,10 @@ export default {
actualParentFeePerChild = monthlyParentFee - reductionAmountPerChild;
}
}
-
+
// Determine the reduction amount per this.form.children[i]...
// actualParentFeePerChild = Math.max(0, actualParentFeePerChild);
-
+
// Update the results
this.results.push({number: i+1, reductionAmountPerChild: Math.round(reductionAmountPerChild), actualParentFeePerChild: Math.round(actualParentFeePerChild)});
}
@@ -1011,7 +1011,7 @@ export default {
numberFilter: function(evt) {
evt = (evt) ? evt : window.event;
let expect = evt.target.value.toString() + evt.key.toString();
-
+
if (!/^[0-9]*$/.test(expect)) {
evt.preventDefault();
} else {
@@ -1021,7 +1021,7 @@ export default {
currencyFilter: function(evt) {
evt = (evt) ? evt : window.event;
let expect = evt.target.value.toString() + evt.key.toString();
-
+
if (!/^[0-9]*\.?[0-9]*$/.test(expect)) {
evt.preventDefault();
} else {
diff --git a/frontend/src/components/FacilitySearch.vue b/frontend/src/components/FacilitySearch.vue
index ef272a03..29344dc8 100644
--- a/frontend/src/components/FacilitySearch.vue
+++ b/frontend/src/components/FacilitySearch.vue
@@ -194,7 +194,7 @@ export default {
this.facilityResult = this.getFacility(facility.facilityId).then(() => {
this.facilityResult.accountNumber = facility.accountNumber;
// Pass (as an event) the selected facilty value to the parent component.
- this.$emit('selectedFacility', this.facilityResult);
+ this.$emit('selectedFacility', this.facilityResult);
});
this.dialog = false;
},
diff --git a/frontend/src/components/Header.vue b/frontend/src/components/Header.vue
index 19522aa2..d7b1c440 100644
--- a/frontend/src/components/Header.vue
+++ b/frontend/src/components/Header.vue
@@ -31,14 +31,14 @@
-
@@ -46,7 +46,7 @@
-
+
@@ -110,11 +110,11 @@ export default {
if (
err.name !== 'NavigationDuplicated' &&
!err.message.includes('Avoided redundant navigation to current location')
- )
+ )
console.log(err);
});
},
-
+
}
};
diff --git a/frontend/src/components/Impersonate.vue b/frontend/src/components/Impersonate.vue
index 85d0b152..4d93bdf1 100644
--- a/frontend/src/components/Impersonate.vue
+++ b/frontend/src/components/Impersonate.vue
@@ -13,18 +13,18 @@
-
Search
-
+
@@ -78,7 +78,7 @@ export default {
} else {
this.setFailureAlert('An error occurred while trying to load BCeID');
}
- }
+ }
}
}
};
diff --git a/frontend/src/components/Login.vue b/frontend/src/components/Login.vue
index 14d76cad..833ccea3 100644
--- a/frontend/src/components/Login.vue
+++ b/frontend/src/components/Login.vue
@@ -8,7 +8,7 @@
My ChildCareBC Services
@@ -44,14 +44,14 @@
- NOTE: The information collected through My ChildCareBC Services is collected
- under the authority of the Freedom of Information and Protection of Privacy Act (FOIPPA)
- and the Child Care BC Act (SBC 2001, c. 4) and will be used for the purpose of administering
- the Child Care Operating Funding Program, which includes the Child Care Fee Reduction Initiative
- and the Early Childhood Educator (ECE) Wage Enhancement for successfully enrolled applicants.
- Personal information is protected from unauthorized use and disclosure in accordance with FOIPPA.
- Any questions or concerns about the collection of this information can be directed to the Director,
- Child Care Operating Funding Program, PO Box 9965 Stn Prov Govt, Victoria BC V8W 9R4,
+ NOTE: The information collected through My ChildCareBC Services is collected
+ under the authority of the Freedom of Information and Protection of Privacy Act (FOIPPA)
+ and the Child Care BC Act (SBC 2001, c. 4) and will be used for the purpose of administering
+ the Child Care Operating Funding Program, which includes the Child Care Fee Reduction Initiative
+ and the Early Childhood Educator (ECE) Wage Enhancement for successfully enrolled applicants.
+ Personal information is protected from unauthorized use and disclosure in accordance with FOIPPA.
+ Any questions or concerns about the collection of this information can be directed to the Director,
+ Child Care Operating Funding Program, PO Box 9965 Stn Prov Govt, Victoria BC V8W 9R4,
Phone: in Greater Victoria: 250 356-6501, outside of Greater Victoria, Toll Free: 1 888 338-6622 (option 2).
@@ -107,13 +107,13 @@
- The ministry has made enhancements to the
+ The ministry has made enhancements to the
CCFRI Estimator
to help estimate additional child care fee savings that started on December 1, 2022.
Note:
- Child care providers with a CCFRI application in process, including open applications for a mid-term fee increase,
+ Child care providers with a CCFRI application in process, including open applications for a mid-term fee increase,
will not appear in the search results. Check back as search results are updated regularly.
@@ -133,7 +133,7 @@
-
+
diff --git a/frontend/src/components/MessagesPage.vue b/frontend/src/components/MessagesPage.vue
index a7274213..baeeb862 100644
--- a/frontend/src/components/MessagesPage.vue
+++ b/frontend/src/components/MessagesPage.vue
@@ -4,7 +4,7 @@
-
+
diff --git a/frontend/src/components/guiComponents/LargeCard.vue b/frontend/src/components/guiComponents/LargeCard.vue
index 318cce94..ccf2a672 100644
--- a/frontend/src/components/guiComponents/LargeCard.vue
+++ b/frontend/src/components/guiComponents/LargeCard.vue
@@ -1,5 +1,5 @@
-
{{title}}
{{subtitle}}
-
-
-
- "txt"
* ".htpasswd" --> ""
* "name.with.many.dots.myext" --> "myext"
- * @param {*} fileName
+ * @param {*} fileName
*/
export function getFileExtension(fileName) {
return fileName.slice((fileName.lastIndexOf('.') - 1 >>> 0) + 2);
diff --git a/frontend/tests/unit/common/apiService.spec.js b/frontend/tests/unit/common/apiService.spec.js
index 6cf5a53e..ac6adadb 100644
--- a/frontend/tests/unit/common/apiService.spec.js
+++ b/frontend/tests/unit/common/apiService.spec.js
@@ -10,7 +10,7 @@ describe('apiService.js', () => {
afterEach(() => {
spy.mockClear();
});
-
+
it('Set and Delete Auth header', () => {
ApiService.setAuthHeader('randomToken');
expect(ApiService.apiAxios.defaults.headers.common['Authorization']).toBe('Bearer randomToken');
diff --git a/frontend/tests/unit/components/Footer.spec.js b/frontend/tests/unit/components/Footer.spec.js
index 0ae3740d..c4b00d3f 100644
--- a/frontend/tests/unit/components/Footer.spec.js
+++ b/frontend/tests/unit/components/Footer.spec.js
@@ -5,16 +5,16 @@ import Footer from '../../../src/components/Footer.vue';
describe('Footer.vue', () => {
let wrapper;
-
+
beforeEach(() => {
-
+
Vue.use(Vuetify);
-
+
wrapper = mount(Footer, {
Vue: Vue
});
});
-
+
it('renders the correct markup', () => {
expect(wrapper.html()).toContain('');
});
diff --git a/frontend/tests/unit/components/Login.spec.js b/frontend/tests/unit/components/Login.spec.js
index eaa87131..c0aa3131 100644
--- a/frontend/tests/unit/components/Login.spec.js
+++ b/frontend/tests/unit/components/Login.spec.js
@@ -15,12 +15,12 @@ describe('Login.vue', () => {
let wrapper;
let store;
let router;
-
+
beforeEach(() => {
Vue.use(VueRouter);
Vue.use(Vuetify);
Vue.use(Vuex);
-
+
router = new VueRouter();
store = new Vuex.Store({
modules: { auth }
diff --git a/frontend/tests/unit/store/ccfriApp.spec.js b/frontend/tests/unit/store/ccfriApp.spec.js
index fadd9354..294a2b2a 100644
--- a/frontend/tests/unit/store/ccfriApp.spec.js
+++ b/frontend/tests/unit/store/ccfriApp.spec.js
@@ -6,7 +6,6 @@ import ccfriAppStore from '@/store/modules/ccfriApp';
import MockAdapter from 'axios-mock-adapter';
import { ApiRoutes } from '@/utils/constants.js';
import flushPromises from 'flush-promises';
-import { cloneDeep } from 'lodash';
const mockAxios = new MockAdapter(ApiService.apiAxios);
@@ -23,7 +22,7 @@ describe('ccfriApp.js', () => {
localVue.use(Vuex);
// store = new Vuex.Store(cloneDeep(ccfriApp));
-// rootState.app.isRenewal && state.CCFRIFacilityModel.existingFeesCorrect == 100000000
+ // rootState.app.isRenewal && state.CCFRIFacilityModel.existingFeesCorrect == 100000000
const state = { // your root state for the test
app: {
@@ -76,14 +75,14 @@ describe('ccfriApp.js', () => {
application: {
programYearId: 'de676989-be6b-ed11-81ac-0022483c5cdf'
}
- }
+ };
store = new Vuex.Store({
state,
modules: {
ccfriApp: ccfriAppStore
}
- })
+ });
});
afterEach(() => {
spy.mockClear();