Poprawki stylistyczne

This commit is contained in:
2022-10-24 15:07:03 +02:00
parent 2cd83c2a60
commit 0a6c633517
10 changed files with 91 additions and 83 deletions
-15
View File
@@ -9,21 +9,6 @@ export default defineComponent({
},
methods: {
verifyFooter() {
const footer = this.store.orderFooter;
const fieldsToCorrect = [];
if (!footer.stationName) fieldsToCorrect.push('stacja');
if (!footer.checkpointName) fieldsToCorrect.push('posterunek');
if (!footer.hour) fieldsToCorrect.push('godzina');
if (!footer.minutes) fieldsToCorrect.push('minuta');
if (!footer.dispatcherName && !footer.secondaryDispatcherName)
fieldsToCorrect.push('dyżurny ruchu (lub z polecenia dyżurnego ruchu)');
return fieldsToCorrect;
},
generateFooter() {
const footer = this.store.orderFooter;