From 0bc2af80020e80eb3b4065297d0bca3552c6a0da Mon Sep 17 00:00:00 2001 From: Thomas Peterson Date: Mon, 6 Oct 2025 09:27:57 +0200 Subject: [PATCH] backup --- .../PSC/Invoice/InvoiceTS/src/app/app.tsx | 1 - .../System/PSC/Invoice/InvoiceTS/src/main.tsx | 2 +- .../src/modules/base/BaseComponent.tsx | 12 +++---- .../InvoiceTS/src/modules/base/Button.tsx | 32 +++++++++---------- .../src/modules/contact/ContactComponent.tsx | 8 ++--- .../src/modules/payment/PaymentComponent.tsx | 4 +-- .../modules/positions/PositionsComponent.tsx | 4 +-- .../modules/shipping/ShippingComponent.tsx | 4 +-- .../src/modules/topbar/TopBarComponent.tsx | 2 +- 9 files changed, 34 insertions(+), 35 deletions(-) diff --git a/src/new/var/plugins/System/PSC/Invoice/InvoiceTS/src/app/app.tsx b/src/new/var/plugins/System/PSC/Invoice/InvoiceTS/src/app/app.tsx index c69fb84aa..2ce0e6a3a 100644 --- a/src/new/var/plugins/System/PSC/Invoice/InvoiceTS/src/app/app.tsx +++ b/src/new/var/plugins/System/PSC/Invoice/InvoiceTS/src/app/app.tsx @@ -14,7 +14,6 @@ export class App { constructor(jwt: String) { let token = container.resolve(Token) - console.log(jwt) token.currentToken = jwt token.init() } diff --git a/src/new/var/plugins/System/PSC/Invoice/InvoiceTS/src/main.tsx b/src/new/var/plugins/System/PSC/Invoice/InvoiceTS/src/main.tsx index 938e7b9af..4d0d35e9e 100644 --- a/src/new/var/plugins/System/PSC/Invoice/InvoiceTS/src/main.tsx +++ b/src/new/var/plugins/System/PSC/Invoice/InvoiceTS/src/main.tsx @@ -3,7 +3,7 @@ import "reflect-metadata"; import * as $ from "jquery"; import { App } from "./app/app"; -let jwt_token: String = "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NTk2NDkyNDMsImV4cCI6MTc1OTY1Mjg0Mywicm9sZXMiOlsiUk9MRV9BRE1JTiIsIlJPTEVfU0hPUF9PUEVS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S5KZRl_NF1B7e1SZV1dChoOpl6rL0j0Q3dCz76S62nq7imGA0ATj9VJae-Y1DWKRfu1T7nP6ST2gQWK6BpbLKHaVyBi4doEQZr0_0VX05MmIQC1Vci5pUsPqmJ3LRpsdcxZFhN-Vn-s8Rnr8DjTGS4PzX1u1G-UcZvqON39TqaE9PuL8_SvGqtEOj0iNsK0Szp2BPljoAD_f8eM12KyIVhyrbbyO7rYmo-Ob51eoV3tbJcONau20709ShA9PAj1bQsLlZkKEetzdmiKkoXbbIYrID2HvQ"; let app = new App(jwt_token); app.init(); app.run(); diff --git a/src/new/var/plugins/System/PSC/Invoice/InvoiceTS/src/modules/base/BaseComponent.tsx b/src/new/var/plugins/System/PSC/Invoice/InvoiceTS/src/modules/base/BaseComponent.tsx index 20784c0be..87d133ec3 100644 --- a/src/new/var/plugins/System/PSC/Invoice/InvoiceTS/src/modules/base/BaseComponent.tsx +++ b/src/new/var/plugins/System/PSC/Invoice/InvoiceTS/src/modules/base/BaseComponent.tsx @@ -42,9 +42,9 @@ const BaseComponent = (props) => { return (
-
+
{/* Header Section */} -
+
@@ -54,7 +54,7 @@ const BaseComponent = (props) => {
{/* Top Bar Section */} -
+
@@ -62,17 +62,17 @@ const BaseComponent = (props) => { { shop.id != 0 && ( <> {/* Contact Section */} -
+
{/* Positions Section */} -
+
{/* Payment & Shipping Row */} -
+
diff --git a/src/new/var/plugins/System/PSC/Invoice/InvoiceTS/src/modules/base/Button.tsx b/src/new/var/plugins/System/PSC/Invoice/InvoiceTS/src/modules/base/Button.tsx index e21be4a35..6d64f7ad8 100644 --- a/src/new/var/plugins/System/PSC/Invoice/InvoiceTS/src/modules/base/Button.tsx +++ b/src/new/var/plugins/System/PSC/Invoice/InvoiceTS/src/modules/base/Button.tsx @@ -3,30 +3,30 @@ import React from 'react' const Button = ({ type , variant , onClick }) => { return ( - - { type == 1 && -
-

+
+

Kontakt & Konto

-
+
{ { order.contact.uuid != "" && ( <> -

+

diff --git a/src/new/var/plugins/System/PSC/Invoice/InvoiceTS/src/modules/payment/PaymentComponent.tsx b/src/new/var/plugins/System/PSC/Invoice/InvoiceTS/src/modules/payment/PaymentComponent.tsx index 20ad87205..ad9c9e5da 100644 --- a/src/new/var/plugins/System/PSC/Invoice/InvoiceTS/src/modules/payment/PaymentComponent.tsx +++ b/src/new/var/plugins/System/PSC/Invoice/InvoiceTS/src/modules/payment/PaymentComponent.tsx @@ -44,8 +44,8 @@ const PaymentComponent = ({ shop, order }) => { } return ( -
-

+
+

diff --git a/src/new/var/plugins/System/PSC/Invoice/InvoiceTS/src/modules/positions/PositionsComponent.tsx b/src/new/var/plugins/System/PSC/Invoice/InvoiceTS/src/modules/positions/PositionsComponent.tsx index c165d1491..72c883b7a 100644 --- a/src/new/var/plugins/System/PSC/Invoice/InvoiceTS/src/modules/positions/PositionsComponent.tsx +++ b/src/new/var/plugins/System/PSC/Invoice/InvoiceTS/src/modules/positions/PositionsComponent.tsx @@ -43,8 +43,8 @@ const PositionsComponent = ({order, shop, updateOrder}) => { }, [positions]) return ( -
-

+
+

diff --git a/src/new/var/plugins/System/PSC/Invoice/InvoiceTS/src/modules/shipping/ShippingComponent.tsx b/src/new/var/plugins/System/PSC/Invoice/InvoiceTS/src/modules/shipping/ShippingComponent.tsx index 5cef670b9..9b6741d98 100644 --- a/src/new/var/plugins/System/PSC/Invoice/InvoiceTS/src/modules/shipping/ShippingComponent.tsx +++ b/src/new/var/plugins/System/PSC/Invoice/InvoiceTS/src/modules/shipping/ShippingComponent.tsx @@ -42,8 +42,8 @@ const ShippingComponent = ({shop, order}) => { } return ( -
-

+
+

diff --git a/src/new/var/plugins/System/PSC/Invoice/InvoiceTS/src/modules/topbar/TopBarComponent.tsx b/src/new/var/plugins/System/PSC/Invoice/InvoiceTS/src/modules/topbar/TopBarComponent.tsx index b7ef16dc2..d77904faa 100644 --- a/src/new/var/plugins/System/PSC/Invoice/InvoiceTS/src/modules/topbar/TopBarComponent.tsx +++ b/src/new/var/plugins/System/PSC/Invoice/InvoiceTS/src/modules/topbar/TopBarComponent.tsx @@ -10,7 +10,7 @@ import React from 'react' const TopBarComponent = ({shop, order, change}) => { return ( -
+