Add page for calculating paypal invoice taxes

This commit is contained in:
2025-07-30 18:53:10 +02:00
parent 186513a724
commit 25b0fe1c05
10 changed files with 577 additions and 136 deletions

View File

@@ -96,6 +96,16 @@ export const dict_to_form = (dict: Object) => {
// API methods
// ===========
export type UserSession = {
auth_key: string,
creation_ip_address: string,
user_agent: string,
app_name: string,
creation_time: string,
last_used_time: string,
valid_domains: string[],
}
export const get_user = async () => {
if ((window as any).user !== undefined) {
return (window as any).user as User