Skip to content

Add promo code (coupon) support to order form - #615

Open
ninedev-i wants to merge 6 commits into
mainfrom
feature/promocode
Open

ninedev-i wants to merge 6 commits into
mainfrom
feature/promocode

fix comments

efecd6e
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Oct 22, 2026 in 0s

218 new issues (0 max.) of at least minor severity.

Annotations

Check warning on line 10 in composables/useOrderDelivery.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

composables/useOrderDelivery.ts#L10

Unexpected any. Specify a different type.

Check warning on line 11 in composables/useOrderDelivery.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

composables/useOrderDelivery.ts#L11

Generic Object Injection Sink

Check warning on line 13 in composables/useOrderDelivery.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

composables/useOrderDelivery.ts#L13

'any' overrides all other types in this union type.

Check warning on line 14 in composables/useOrderDelivery.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

composables/useOrderDelivery.ts#L14

Forbidden non-null assertion.

Check warning on line 14 in composables/useOrderDelivery.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

composables/useOrderDelivery.ts#L14

Unsafe assignment of an error typed value.

Check warning on line 14 in composables/useOrderDelivery.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

composables/useOrderDelivery.ts#L14

Unsafe call of an `error` type typed value.

Check warning on line 14 in composables/useOrderDelivery.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

composables/useOrderDelivery.ts#L14

Unsafe member access .deliveryData on an `error` typed value.

Check warning on line 15 in composables/useOrderDelivery.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

composables/useOrderDelivery.ts#L15

Forbidden non-null assertion.

Check warning on line 15 in composables/useOrderDelivery.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

composables/useOrderDelivery.ts#L15

Unsafe assignment of an error typed value.

Check warning on line 15 in composables/useOrderDelivery.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

composables/useOrderDelivery.ts#L15

Unsafe call of an `error` type typed value.

Check warning on line 17 in composables/useOrderDelivery.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

composables/useOrderDelivery.ts#L17

Unexpected any. Specify a different type.

Check warning on line 17 in composables/useOrderDelivery.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

composables/useOrderDelivery.ts#L17

Unsafe member access .value on an `error` typed value.

Check warning on line 18 in composables/useOrderDelivery.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

composables/useOrderDelivery.ts#L18

Unsafe argument of type `any` assigned to a parameter of type `Record<string, any>`.

Check warning on line 18 in composables/useOrderDelivery.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

composables/useOrderDelivery.ts#L18

Unsafe member access .value on an `error` typed value.

Check warning on line 22 in composables/useOrderDelivery.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

composables/useOrderDelivery.ts#L22

Unsafe argument of type `any` assigned to a parameter of type `Record<string, any>`.

Check warning on line 27 in composables/useOrderDelivery.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

composables/useOrderDelivery.ts#L27

Unsafe member access .cdek_pvz_id on an `any` value.

Check warning on line 28 in composables/useOrderDelivery.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

composables/useOrderDelivery.ts#L28

Unsafe member access .value on an `error` typed value.

Check warning on line 32 in composables/useOrderDelivery.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

composables/useOrderDelivery.ts#L32

Unsafe assignment of an `any` value.

Check warning on line 33 in composables/useOrderDelivery.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

composables/useOrderDelivery.ts#L33

Unsafe call of an `any` typed value.

Check warning on line 33 in composables/useOrderDelivery.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

composables/useOrderDelivery.ts#L33

Unsafe member access .trim on an `any` value.

Check warning on line 38 in composables/useOrderDelivery.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

composables/useOrderDelivery.ts#L38

Unsafe assignment of an error typed value.

Check warning on line 38 in composables/useOrderDelivery.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

composables/useOrderDelivery.ts#L38

Unsafe call of an `error` type typed value.

Check warning on line 38 in composables/useOrderDelivery.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

composables/useOrderDelivery.ts#L38

Unsafe member access .value on an `error` typed value.

Check warning on line 38 in composables/useOrderDelivery.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

composables/useOrderDelivery.ts#L38

Unsafe return of an `any` typed value.

Check warning on line 39 in composables/useOrderDelivery.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

composables/useOrderDelivery.ts#L39

Unsafe assignment of an error typed value.