mirror of
https://github.com/documize/community.git
synced 2025-08-05 05:25:27 +02:00
PRovide basic in-app purchase/renewal flow
This commit is contained in:
parent
e116d3b000
commit
d1b803b246
39 changed files with 1211 additions and 1154 deletions
|
@ -174,7 +174,7 @@ func processDocument(ctx domain.RequestContext, r *env.Runtime, store *store.Sto
|
|||
documentID := uniqueid.Generate()
|
||||
document.RefID = documentID
|
||||
|
||||
if r.Product.Edition == env.CommunityEdition {
|
||||
if r.Product.Edition == domain.CommunityEdition {
|
||||
document.Lifecycle = workflow.LifecycleLive
|
||||
} else {
|
||||
document.Lifecycle = sp.Lifecycle
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue