Skip to content
GitLab
Erkunden
Anmelden
Registrieren
Primärnavigation
Suchen oder aufrufen …
Projekt
payment-stripe
Verwalten
Aktivität
Mitglieder
Labels
Planen
Tickets
9
Ticketübersichten
Meilensteine
Wiki
Code
Merge Requests
1
Repository
Branch
Commits
Tags
Repository-Diagramm
Revisionen vergleichen
Code-Schnipsel
Build
Pipelines
Aufgaben
Pipeline-Zeitpläne
Artefakte
Bereitstellung
Releases
Betreiben
Umgebungen
Überwachen
Vorfälle
Service-Desk
Analysieren
Wertschöpfungskettenanalyse
Mitwirkenden-Analyse
CI/CD-Analyse
Repository-Analysen
Hilfe
Hilfe
Support
GitLab-Dokumentation
GitLab-Pläne vergleichen
Community-Forum
Zu GitLab beitragen
Feedback geben
Tastenkürzel
?
Code-Schnipsel
Gruppen
Projekte
Show more breadcrumbs
QUIQQER
payment-stripe
Commits
9f02e700
Commit
9f02e700
erstellt
vor 4 Jahren
von
Patrick Müller
Dateien durchsuchen
Optionen
Downloads
Einfaches Diff
Merge branch 'dev'
Übergeordnete
f85b3e57
4a50bda5
No related branches found
Branches enthält Commit
No related tags found
Tags enthält Commit
2 Merge Requests
!6
feat!: quiqqer v2
,
!5
feat!: quiqqer v2
Änderungen
3
Leerzeichenänderungen ausblenden
Inline
Nebeneinander
3 geänderte Dateien
bin/controls/backend/settings/BillingPlans.js
+16
-10
16 Ergänzungen, 10 Löschungen
bin/controls/backend/settings/BillingPlans.js
bin/controls/backend/settings/Subscriptions.js
+13
-7
13 Ergänzungen, 7 Löschungen
bin/controls/backend/settings/Subscriptions.js
settings.xml
+8
-0
8 Ergänzungen, 0 Löschungen
settings.xml
werden angezeigt
mit
37 Ergänzungen
und
17 Löschungen
bin/controls/backend/settings/BillingPlans.js
+
16
−
10
Zeige Datei @
9f02e700
...
@@ -6,10 +6,10 @@
...
@@ -6,10 +6,10 @@
*/
*/
define
(
'
package/quiqqer/payment-stripe/bin/controls/backend/settings/BillingPlans
'
,
[
define
(
'
package/quiqqer/payment-stripe/bin/controls/backend/settings/BillingPlans
'
,
[
'
qui/QUI
'
,
'
qui/controls/Control
'
,
'
qui/controls/Control
'
,
'
qui/controls/loader/Loader
'
,
'
qui/controls/loader/Loader
'
,
'
qui/controls/windows/Confirm
'
,
'
qui/controls/windows/Confirm
'
,
'
qui/controls/buttons/Button
'
,
'
controls/grid/Grid
'
,
'
controls/grid/Grid
'
,
'
package/quiqqer/payment-stripe/bin/Stripe
'
,
'
package/quiqqer/payment-stripe/bin/Stripe
'
,
...
@@ -17,7 +17,7 @@ define('package/quiqqer/payment-stripe/bin/controls/backend/settings/BillingPlan
...
@@ -17,7 +17,7 @@ define('package/quiqqer/payment-stripe/bin/controls/backend/settings/BillingPlan
'
css!package/quiqqer/payment-stripe/bin/controls/backend/settings/BillingPlans.css
'
'
css!package/quiqqer/payment-stripe/bin/controls/backend/settings/BillingPlans.css
'
],
function
(
QUIControl
,
QUILoader
,
QUIConfirm
,
QUIButton
,
Grid
,
Stripe
,
QUILocale
)
{
],
function
(
QUI
,
QUIControl
,
QUILoader
,
QUIConfirm
,
Grid
,
Stripe
,
QUILocale
)
{
"
use strict
"
;
"
use strict
"
;
var
lg
=
'
quiqqer/payment-stripe
'
;
var
lg
=
'
quiqqer/payment-stripe
'
;
...
@@ -42,6 +42,7 @@ define('package/quiqqer/payment-stripe/bin/controls/backend/settings/BillingPlan
...
@@ -42,6 +42,7 @@ define('package/quiqqer/payment-stripe/bin/controls/backend/settings/BillingPlan
this
.
$Content
=
null
;
this
.
$Content
=
null
;
this
.
Loader
=
new
QUILoader
();
this
.
Loader
=
new
QUILoader
();
this
.
$startId
=
null
;
this
.
$startId
=
null
;
this
.
$Panel
=
null
;
this
.
addEvents
({
this
.
addEvents
({
onCreate
:
this
.
$onCreate
,
onCreate
:
this
.
$onCreate
,
...
@@ -75,7 +76,7 @@ define('package/quiqqer/payment-stripe/bin/controls/backend/settings/BillingPlan
...
@@ -75,7 +76,7 @@ define('package/quiqqer/payment-stripe/bin/controls/backend/settings/BillingPlan
if
(
result
.
data
.
length
&&
result
.
data
[
0
].
isSandbox
)
{
if
(
result
.
data
.
length
&&
result
.
data
[
0
].
isSandbox
)
{
detailsUrl
=
'
https://dashboard.stripe.com/test/plans/
'
;
detailsUrl
=
'
https://dashboard.stripe.com/test/plans/
'
;
}
else
{
}
else
{
detailsUrl
=
'
https://dashboard.stripe.com/plans/
'
detailsUrl
=
'
https://dashboard.stripe.com/plans/
'
;
}
}
var
$onDetailsClick
=
function
(
event
)
{
var
$onDetailsClick
=
function
(
event
)
{
...
@@ -119,10 +120,10 @@ define('package/quiqqer/payment-stripe/bin/controls/backend/settings/BillingPlan
...
@@ -119,10 +120,10 @@ define('package/quiqqer/payment-stripe/bin/controls/backend/settings/BillingPlan
this
.
Loader
.
inject
(
this
.
$Content
);
this
.
Loader
.
inject
(
this
.
$Content
);
this
.
$Content
.
getParent
(
'
form
'
).
setStyle
(
'
height
'
,
'
100%
'
);
this
.
$Content
.
getParent
(
'
form
'
).
setStyle
(
'
height
'
,
'
calc(100% - 40px)
'
);
this
.
$Content
.
getParent
(
'
table
'
).
setStyle
(
'
height
'
,
'
100%
'
);
this
.
$Content
.
getParent
(
'
table
'
).
setStyle
(
'
height
'
,
'
calc(100% - 40px)
'
);
this
.
$Content
.
getParent
(
'
tbody
'
).
setStyle
(
'
height
'
,
'
100%
'
);
this
.
$Content
.
getParent
(
'
tbody
'
).
setStyle
(
'
height
'
,
'
calc(100% - 40px)
'
);
this
.
$Content
.
getParent
(
'
.field-container
'
).
setStyle
(
'
height
'
,
'
100%
'
);
this
.
$Content
.
getParent
(
'
.field-container
'
).
setStyle
(
'
height
'
,
'
calc(100% - 40px)
'
);
this
.
create
();
this
.
create
();
this
.
$onCreate
();
this
.
$onCreate
();
...
@@ -204,6 +205,9 @@ define('package/quiqqer/payment-stripe/bin/controls/backend/settings/BillingPlan
...
@@ -204,6 +205,9 @@ define('package/quiqqer/payment-stripe/bin/controls/backend/settings/BillingPlan
}
}
});
});
this
.
$Panel
=
QUI
.
Controls
.
getById
(
this
.
getElm
().
getParent
(
'
.qui-panel
'
).
get
(
'
data-quiid
'
));
this
.
$Panel
.
addEvent
(
'
onResize
'
,
this
.
$onResize
);
this
.
$onResize
();
this
.
$onResize
();
},
},
...
@@ -215,10 +219,12 @@ define('package/quiqqer/payment-stripe/bin/controls/backend/settings/BillingPlan
...
@@ -215,10 +219,12 @@ define('package/quiqqer/payment-stripe/bin/controls/backend/settings/BillingPlan
return
;
return
;
}
}
var
size
=
this
.
$Content
.
getSize
();
var
size
=
this
.
$Panel
.
getContent
().
getSize
();
this
.
$Content
.
setStyle
(
'
width
'
,
size
.
x
-
60
);
this
.
$Grid
.
setHeight
(
size
.
y
-
2
0
);
this
.
$Grid
.
setHeight
(
size
.
y
-
14
0
);
this
.
$Grid
.
setWidth
(
size
.
x
-
2
0
);
this
.
$Grid
.
setWidth
(
size
.
x
-
6
0
);
this
.
$Grid
.
resize
();
this
.
$Grid
.
resize
();
},
},
...
...
This diff is collapsed.
Zum Erweitern klicken.
bin/controls/backend/settings/Subscriptions.js
+
13
−
7
Zeige Datei @
9f02e700
...
@@ -44,6 +44,7 @@ define('package/quiqqer/payment-stripe/bin/controls/backend/settings/Subscriptio
...
@@ -44,6 +44,7 @@ define('package/quiqqer/payment-stripe/bin/controls/backend/settings/Subscriptio
this
.
$search
=
false
;
this
.
$search
=
false
;
this
.
$SearchInput
=
null
;
this
.
$SearchInput
=
null
;
this
.
$Panel
=
null
;
this
.
addEvents
({
this
.
addEvents
({
onCreate
:
this
.
$onCreate
,
onCreate
:
this
.
$onCreate
,
...
@@ -145,10 +146,10 @@ define('package/quiqqer/payment-stripe/bin/controls/backend/settings/Subscriptio
...
@@ -145,10 +146,10 @@ define('package/quiqqer/payment-stripe/bin/controls/backend/settings/Subscriptio
this
.
Loader
.
inject
(
this
.
$Content
);
this
.
Loader
.
inject
(
this
.
$Content
);
this
.
$Content
.
getParent
(
'
form
'
).
setStyle
(
'
height
'
,
'
100%
'
);
this
.
$Content
.
getParent
(
'
form
'
).
setStyle
(
'
height
'
,
'
calc(100% - 40px)
'
);
this
.
$Content
.
getParent
(
'
table
'
).
setStyle
(
'
height
'
,
'
100%
'
);
this
.
$Content
.
getParent
(
'
table
'
).
setStyle
(
'
height
'
,
'
calc(100% - 40px)
'
);
this
.
$Content
.
getParent
(
'
tbody
'
).
setStyle
(
'
height
'
,
'
100%
'
);
this
.
$Content
.
getParent
(
'
tbody
'
).
setStyle
(
'
height
'
,
'
calc(100% - 40px)
'
);
this
.
$Content
.
getParent
(
'
.field-container
'
).
setStyle
(
'
height
'
,
'
100%
'
);
this
.
$Content
.
getParent
(
'
.field-container
'
).
setStyle
(
'
height
'
,
'
calc(100% - 40px)
'
);
this
.
create
();
this
.
create
();
this
.
$onCreate
();
this
.
$onCreate
();
...
@@ -258,6 +259,9 @@ define('package/quiqqer/payment-stripe/bin/controls/backend/settings/Subscriptio
...
@@ -258,6 +259,9 @@ define('package/quiqqer/payment-stripe/bin/controls/backend/settings/Subscriptio
}
}
});
});
this
.
$Panel
=
QUI
.
Controls
.
getById
(
this
.
getElm
().
getParent
(
'
.qui-panel
'
).
get
(
'
data-quiid
'
));
this
.
$Panel
.
addEvent
(
'
onResize
'
,
this
.
$onResize
);
this
.
$onResize
();
this
.
$onResize
();
},
},
...
@@ -269,10 +273,12 @@ define('package/quiqqer/payment-stripe/bin/controls/backend/settings/Subscriptio
...
@@ -269,10 +273,12 @@ define('package/quiqqer/payment-stripe/bin/controls/backend/settings/Subscriptio
return
;
return
;
}
}
var
size
=
this
.
$Content
.
getSize
();
var
size
=
this
.
$Panel
.
getContent
().
getSize
();
this
.
$Content
.
setStyle
(
'
width
'
,
size
.
x
-
60
);
this
.
$Grid
.
setHeight
(
size
.
y
-
2
0
);
this
.
$Grid
.
setHeight
(
size
.
y
-
18
0
);
this
.
$Grid
.
setWidth
(
size
.
x
-
2
0
);
this
.
$Grid
.
setWidth
(
size
.
x
-
6
0
);
this
.
$Grid
.
resize
();
this
.
$Grid
.
resize
();
},
},
...
...
This diff is collapsed.
Zum Erweitern klicken.
settings.xml
+
8
−
0
Zeige Datei @
9f02e700
...
@@ -151,6 +151,10 @@
...
@@ -151,6 +151,10 @@
</title>
</title>
<settings
name=
"stripe_billing_plans"
title=
"stripe_billing_plans"
>
<settings
name=
"stripe_billing_plans"
title=
"stripe_billing_plans"
>
<title>
<locale
group=
"quiqqer/payment-stripe"
var=
"settings.category.stripe_billing_plans.title"
/>
</title>
<input
type=
"hidden"
data-qui=
"package/quiqqer/payment-stripe/bin/controls/backend/settings/BillingPlans"
label=
"false"
>
<input
type=
"hidden"
data-qui=
"package/quiqqer/payment-stripe/bin/controls/backend/settings/BillingPlans"
label=
"false"
>
</input>
</input>
</settings>
</settings>
...
@@ -164,6 +168,10 @@
...
@@ -164,6 +168,10 @@
</title>
</title>
<settings
name=
"stripe_billing_plan_subscriptions"
title=
"stripe_billing_plan_subscriptions"
>
<settings
name=
"stripe_billing_plan_subscriptions"
title=
"stripe_billing_plan_subscriptions"
>
<title>
<locale
group=
"quiqqer/payment-stripe"
var=
"settings.category.stripe_billing_plan_subscriptions.title"
/>
</title>
<input
type=
"hidden"
data-qui=
"package/quiqqer/payment-stripe/bin/controls/backend/settings/Subscriptions"
label=
"false"
>
<input
type=
"hidden"
data-qui=
"package/quiqqer/payment-stripe/bin/controls/backend/settings/Subscriptions"
label=
"false"
>
</input>
</input>
</settings>
</settings>
...
...
This diff is collapsed.
Zum Erweitern klicken.
Vorschau
0%
Wiederholen
oder
Neue Datei anhängen
.
Abbrechen
You are about to add
0
people
to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Kommentar speichern
Abbrechen
Bitte
registrieren
oder
Anmelden
zum Kommentieren