update
This commit is contained in:
parent
53d7db0bfc
commit
727ec76f19
Binary file not shown.
Binary file not shown.
@ -41,26 +41,3 @@ class LocalizedNameMixin:
|
|||||||
# return super().form_valid(form)
|
# return super().form_valid(form)
|
||||||
# else:
|
# else:
|
||||||
# return form.errors
|
# return form.errors
|
||||||
class BaseDateNavigationUrlMixIn:
|
|
||||||
BASE_DATE_URL_KWARGS = (
|
|
||||||
'entity_slug',
|
|
||||||
'unit_slug',
|
|
||||||
'ledger_pk',
|
|
||||||
'account_pk',
|
|
||||||
'coa_slug'
|
|
||||||
)
|
|
||||||
|
|
||||||
def get_context_data(self, **kwargs):
|
|
||||||
context = super(BaseDateNavigationUrlMixIn, self).get_context_data(**kwargs)
|
|
||||||
self.get_base_date_nav_url(context)
|
|
||||||
return context
|
|
||||||
|
|
||||||
def get_base_date_nav_url(self, context, **kwargs):
|
|
||||||
view_name = context['view'].request.resolver_match.url_name
|
|
||||||
view_name_base = '-'.join(view_name.split('-')[:2])
|
|
||||||
context['date_navigation_url'] = reverse(
|
|
||||||
view_name_base,
|
|
||||||
kwargs={
|
|
||||||
k: v for k, v in self.kwargs.items() if
|
|
||||||
k in self.BASE_DATE_URL_KWARGS
|
|
||||||
})
|
|
||||||
@ -33,6 +33,7 @@ ctranslate2==4.5.0
|
|||||||
cycler==0.12.1
|
cycler==0.12.1
|
||||||
Cython==3.1.0a1
|
Cython==3.1.0a1
|
||||||
decorator==5.1.1
|
decorator==5.1.1
|
||||||
|
defusedxml==0.7.1
|
||||||
desert==2020.11.18
|
desert==2020.11.18
|
||||||
dill==0.3.9
|
dill==0.3.9
|
||||||
distro==1.9.0
|
distro==1.9.0
|
||||||
@ -84,6 +85,8 @@ filelock==3.17.0
|
|||||||
fire==0.7.0
|
fire==0.7.0
|
||||||
Flask==3.1.0
|
Flask==3.1.0
|
||||||
fonttools==4.55.7
|
fonttools==4.55.7
|
||||||
|
fpdf==1.7.2
|
||||||
|
fpdf2==2.8.2
|
||||||
frozenlist==1.5.0
|
frozenlist==1.5.0
|
||||||
fsspec==2024.12.0
|
fsspec==2024.12.0
|
||||||
gprof2dot==2024.6.6
|
gprof2dot==2024.6.6
|
||||||
@ -171,6 +174,7 @@ pyobjc-core==11.0
|
|||||||
pyobjc-framework-Cocoa==11.0
|
pyobjc-framework-Cocoa==11.0
|
||||||
pyobjc-framework-Quartz==11.0
|
pyobjc-framework-Quartz==11.0
|
||||||
pyparsing==3.2.1
|
pyparsing==3.2.1
|
||||||
|
pypdf==5.3.0
|
||||||
pyperclip==1.9.0
|
pyperclip==1.9.0
|
||||||
pyphen==0.17.2
|
pyphen==0.17.2
|
||||||
pypng==0.20220715.0
|
pypng==0.20220715.0
|
||||||
|
|||||||
BIN
static/.DS_Store
vendored
BIN
static/.DS_Store
vendored
Binary file not shown.
@ -1,4 +1,6 @@
|
|||||||
.color-div {
|
|
||||||
|
|
||||||
|
.color-div {
|
||||||
width: 64px;
|
width: 64px;
|
||||||
height: 16px;
|
height: 16px;
|
||||||
padding: 2px 4px;
|
padding: 2px 4px;
|
||||||
|
|||||||
@ -76,7 +76,7 @@
|
|||||||
--phoenix-dark-border-subtle: #8a94ad;
|
--phoenix-dark-border-subtle: #8a94ad;
|
||||||
--phoenix-white-rgb: 255, 255, 255;
|
--phoenix-white-rgb: 255, 255, 255;
|
||||||
--phoenix-black-rgb: 0, 0, 0;
|
--phoenix-black-rgb: 0, 0, 0;
|
||||||
--phoenix-font-sans-serif: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
--phoenix-font-sans-serif: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
|
||||||
--phoenix-font-monospace: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
--phoenix-font-monospace: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||||
--phoenix-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
|
--phoenix-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
|
||||||
--phoenix-body-font-family: var(--phoenix-font-sans-serif);
|
--phoenix-body-font-family: var(--phoenix-font-sans-serif);
|
||||||
|
|||||||
@ -76,7 +76,7 @@
|
|||||||
--phoenix-dark-border-subtle: #8a94ad;
|
--phoenix-dark-border-subtle: #8a94ad;
|
||||||
--phoenix-white-rgb: 255, 255, 255;
|
--phoenix-white-rgb: 255, 255, 255;
|
||||||
--phoenix-black-rgb: 0, 0, 0;
|
--phoenix-black-rgb: 0, 0, 0;
|
||||||
--phoenix-font-sans-serif: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
--phoenix-font-sans-serif: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
|
||||||
--phoenix-font-monospace: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
--phoenix-font-monospace: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||||
--phoenix-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
|
--phoenix-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
|
||||||
--phoenix-body-font-family: var(--phoenix-font-sans-serif);
|
--phoenix-body-font-family: var(--phoenix-font-sans-serif);
|
||||||
|
|||||||
BIN
static/images/logos/Logo-all.png
Normal file
BIN
static/images/logos/Logo-all.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
Loading…
x
Reference in New Issue
Block a user