Skip to content

Commit cad796b

Browse files
committed
changed error correction level to M on QR code
1 parent 54d7652 commit cad796b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

i4t_web/client/imports/app/web/administrator/administration/establishment/monthly-config/enable-disable/enable-disable.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ export class EnableDisableComponent implements OnInit, OnDestroy {
155155
backgroundAlpha: 1.0,
156156
foreground: 'black',
157157
foregroundAlpha: 1.0,
158-
level: 'H',
158+
level: 'M',
159159
mime: 'image/svg',
160160
padding: null,
161161
size: 150,

i4t_web/client/imports/app/web/administrator/administration/establishment/register/establishment-register.component.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import { EstablishmentPoint } from '../../../../../../../../both/models/points/e
3737
import { EstablishmentPoints } from '../../../../../../../../both/collections/points/establishment-points.collection';
3838
import { BagPlan } from '../../../../../../../../both/models/points/bag-plan.model';
3939
import { BagPlans } from '../../../../../../../../both/collections/points/bag-plans.collection';
40-
import { BagPlanHistory } from '../../../../../../../../both/models/points/bag-plan-history.model';
40+
import { BagPlanHistory, BagPlansPoints } from '../../../../../../../../both/models/points/bag-plan-history.model';
4141
import { BagPlanHistories } from '../../../../../../../../both/collections/points/bag-plans-history.collection';
4242
import { PricePoints } from '../../../../../../../../both/models/points/bag-plan.model';
4343

@@ -354,7 +354,7 @@ export class EstablishmentRegisterComponent implements OnInit, OnDestroy {
354354
creation_date: new Date()
355355
});
356356

357-
let pricePoints: PricePoints = {
357+
let pricePoints: BagPlansPoints = {
358358
country_id: _lBagPlan.price.country_id,
359359
price: _lBagPlan.price.price,
360360
currency: _lBagPlan.price.currency
@@ -366,7 +366,7 @@ export class EstablishmentRegisterComponent implements OnInit, OnDestroy {
366366
plan_label: _lBagPlan.label,
367367
value_points: _lBagPlan.value_points,
368368
price: pricePoints,
369-
establishments_ids: [_lNewEstablishment],
369+
establishment_id: _lNewEstablishment,
370370
creation_user: this._user,
371371
creation_date: new Date()
372372
});
@@ -393,7 +393,7 @@ export class EstablishmentRegisterComponent implements OnInit, OnDestroy {
393393
backgroundAlpha: 1.0,
394394
foreground: 'black',
395395
foregroundAlpha: 1.0,
396-
level: 'H',
396+
level: 'M',
397397
mime: 'image/svg',
398398
padding: null,
399399
size: 150,

0 commit comments

Comments
 (0)