Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Frontend
Project
Project
Details
Activity
Releases
Dependency List
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
842
Issues
842
List
Boards
Labels
Service Desk
Milestones
Merge Requests
42
Merge Requests
42
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
List
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
cde37326
Commit
cde37326
authored
16 minutes ago
by
Ben Hayward
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
formatting
parent
ab6a5129
feat/plus-tiers-578
1 merge request
!460
WIP: [Sprint/JollyJellyfish](feat) Plus tiers engine#578
Pipeline
#74203978
failed with stages
in 9 minutes and 31 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
6 deletions
+3
-6
subscription.component.ts
src/app/modules/plus/subscription.component.ts
+0
-1
creator.component.ts
src/app/modules/wire/creator/creator.component.ts
+1
-0
creator.component.ts
src/app/modules/wire/payments-creator/creator.component.ts
+2
-5
No files found.
src/app/modules/plus/subscription.component.ts
View file @
cde37326
...
...
@@ -70,7 +70,6 @@ export class PlusSubscriptionComponent {
}
async
purchase
(
amount
:
number
=
20
,
period
:
'
month
'
|
'
year
'
=
'
month
'
)
{
console
.
log
(
"
Purchased
"
);
if
(
!
this
.
session
.
isLoggedIn
())
{
this
.
modal
.
open
();
return
;
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/wire/creator/creator.component.ts
View file @
cde37326
...
...
@@ -40,6 +40,7 @@ export class WireCreatorComponent {
payloadType
:
'
onchain
'
,
guid
:
null
,
recurring
:
false
,
// Payment
payload
:
null
};
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/wire/payments-creator/creator.component.ts
View file @
cde37326
...
...
@@ -23,7 +23,7 @@ export interface WireStruc {
guid
:
any
;
recurring
:
boolean
;
payload
:
any
;
period
:
string
|
null
;
period
:
string
;
}
@
Component
({
...
...
@@ -73,7 +73,6 @@ export class WirePaymentsCreatorComponent {
tokenRate
:
number
;
tier
:
string
=
''
;
defaultAmount
:
number
|
''
=
this
.
wire
.
amount
;
protected
submitted
:
boolean
;
...
...
@@ -83,8 +82,6 @@ export class WirePaymentsCreatorComponent {
this
.
wire
.
recurring
=
true
;
this
.
wire
.
guid
=
payment
.
entity_guid
;
this
.
receiver
=
payment
.
receiver
;
this
.
wire
.
period
=
payment
.
period
this
.
tier
=
payment
.
period
;
}
_opts
:
any
;
...
...
@@ -386,7 +383,7 @@ export class WirePaymentsCreatorComponent {
}
}
let
{
done
}
=
await
this
.
wireService
.
submitWire
(
this
.
wire
,
this
.
tier
);
let
{
done
}
=
await
this
.
wireService
.
submitWire
(
this
.
wire
);
if
(
done
)
{
this
.
success
=
true
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment