django-ledger 0.7.1__py3-none-any.whl → 0.7.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of django-ledger might be problematic. Click here for more details.

Files changed (78) hide show
  1. django_ledger/__init__.py +1 -1
  2. django_ledger/forms/account.py +4 -1
  3. django_ledger/io/io_core.py +3 -1
  4. django_ledger/models/customer.py +1 -1
  5. django_ledger/models/data_import.py +22 -3
  6. django_ledger/models/invoice.py +1 -1
  7. django_ledger/models/mixins.py +5 -5
  8. django_ledger/static/django_ledger/bundle/djetler.bundle.js +1 -1
  9. django_ledger/static/django_ledger/bundle/styles.bundle.js +1 -1
  10. django_ledger/templates/django_ledger/account/tags/account_txs_table.html +1 -1
  11. django_ledger/templates/django_ledger/bills/bill_update.html +1 -1
  12. django_ledger/templates/django_ledger/components/icon.html +1 -1
  13. django_ledger/templates/django_ledger/data_import/tags/data_import_job_list_table.html +8 -0
  14. django_ledger/templates/django_ledger/data_import/tags/data_import_job_txs_imported.html +8 -1
  15. django_ledger/templates/django_ledger/financial_statements/balance_sheet.html +1 -0
  16. django_ledger/templates/django_ledger/financial_statements/tags/balance_sheet_statement.html +4 -4
  17. django_ledger/templates/django_ledger/financial_statements/tags/income_statement.html +118 -0
  18. django_ledger/templates/django_ledger/includes/nav.html +9 -5
  19. django_ledger/templates/django_ledger/invoice/includes/card_invoice.html +69 -69
  20. django_ledger/templatetags/django_ledger.py +11 -3
  21. django_ledger/views/account.py +1 -1
  22. django_ledger/views/mixins.py +6 -18
  23. {django_ledger-0.7.1.dist-info → django_ledger-0.7.3.dist-info}/METADATA +1 -1
  24. {django_ledger-0.7.1.dist-info → django_ledger-0.7.3.dist-info}/RECORD +28 -78
  25. assets/node_modules/node-gyp/gyp/gyp_main.py +0 -45
  26. assets/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +0 -367
  27. assets/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +0 -206
  28. assets/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +0 -1270
  29. assets/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +0 -1547
  30. assets/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +0 -59
  31. assets/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +0 -153
  32. assets/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +0 -271
  33. assets/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +0 -574
  34. assets/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +0 -666
  35. assets/node_modules/node-gyp/gyp/pylib/gyp/common.py +0 -654
  36. assets/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +0 -78
  37. assets/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +0 -165
  38. assets/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +0 -109
  39. assets/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +0 -55
  40. assets/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
  41. assets/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py +0 -808
  42. assets/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +0 -1173
  43. assets/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py +0 -1321
  44. assets/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py +0 -120
  45. assets/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +0 -103
  46. assets/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +0 -464
  47. assets/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +0 -89
  48. assets/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +0 -58
  49. assets/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +0 -2518
  50. assets/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +0 -3978
  51. assets/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +0 -44
  52. assets/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +0 -2936
  53. assets/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +0 -55
  54. assets/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +0 -1394
  55. assets/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +0 -25
  56. assets/node_modules/node-gyp/gyp/pylib/gyp/input.py +0 -3137
  57. assets/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +0 -98
  58. assets/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +0 -771
  59. assets/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +0 -1271
  60. assets/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +0 -174
  61. assets/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py +0 -61
  62. assets/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +0 -374
  63. assets/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +0 -1939
  64. assets/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py +0 -302
  65. assets/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +0 -3197
  66. assets/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +0 -65
  67. assets/node_modules/node-gyp/gyp/setup.py +0 -42
  68. assets/node_modules/node-gyp/gyp/test_gyp.py +0 -260
  69. assets/node_modules/node-gyp/gyp/tools/graphviz.py +0 -102
  70. assets/node_modules/node-gyp/gyp/tools/pretty_gyp.py +0 -156
  71. assets/node_modules/node-gyp/gyp/tools/pretty_sln.py +0 -181
  72. assets/node_modules/node-gyp/gyp/tools/pretty_vcproj.py +0 -339
  73. assets/node_modules/node-gyp/test/fixtures/test-charmap.py +0 -31
  74. assets/node_modules/node-gyp/update-gyp.py +0 -46
  75. {django_ledger-0.7.1.dist-info → django_ledger-0.7.3.dist-info}/AUTHORS.md +0 -0
  76. {django_ledger-0.7.1.dist-info → django_ledger-0.7.3.dist-info}/LICENSE +0 -0
  77. {django_ledger-0.7.1.dist-info → django_ledger-0.7.3.dist-info}/WHEEL +0 -0
  78. {django_ledger-0.7.1.dist-info → django_ledger-0.7.3.dist-info}/top_level.txt +0 -0
@@ -1,89 +0,0 @@
1
- # Copyright (c) 2011 Google Inc. All rights reserved.
2
- # Use of this source code is governed by a BSD-style license that can be
3
- # found in the LICENSE file.
4
-
5
- """gypd output module
6
-
7
- This module produces gyp input as its output. Output files are given the
8
- .gypd extension to avoid overwriting the .gyp files that they are generated
9
- from. Internal references to .gyp files (such as those found in
10
- "dependencies" sections) are not adjusted to point to .gypd files instead;
11
- unlike other paths, which are relative to the .gyp or .gypd file, such paths
12
- are relative to the directory from which gyp was run to create the .gypd file.
13
-
14
- This generator module is intended to be a sample and a debugging aid, hence
15
- the "d" for "debug" in .gypd. It is useful to inspect the results of the
16
- various merges, expansions, and conditional evaluations performed by gyp
17
- and to see a representation of what would be fed to a generator module.
18
-
19
- It's not advisable to rename .gypd files produced by this module to .gyp,
20
- because they will have all merges, expansions, and evaluations already
21
- performed and the relevant constructs not present in the output; paths to
22
- dependencies may be wrong; and various sections that do not belong in .gyp
23
- files such as such as "included_files" and "*_excluded" will be present.
24
- Output will also be stripped of comments. This is not intended to be a
25
- general-purpose gyp pretty-printer; for that, you probably just want to
26
- run "pprint.pprint(eval(open('source.gyp').read()))", which will still strip
27
- comments but won't do all of the other things done to this module's output.
28
-
29
- The specific formatting of the output generated by this module is subject
30
- to change.
31
- """
32
-
33
-
34
- import gyp.common
35
- import pprint
36
-
37
-
38
- # These variables should just be spit back out as variable references.
39
- _generator_identity_variables = [
40
- "CONFIGURATION_NAME",
41
- "EXECUTABLE_PREFIX",
42
- "EXECUTABLE_SUFFIX",
43
- "INTERMEDIATE_DIR",
44
- "LIB_DIR",
45
- "PRODUCT_DIR",
46
- "RULE_INPUT_ROOT",
47
- "RULE_INPUT_DIRNAME",
48
- "RULE_INPUT_EXT",
49
- "RULE_INPUT_NAME",
50
- "RULE_INPUT_PATH",
51
- "SHARED_INTERMEDIATE_DIR",
52
- "SHARED_LIB_DIR",
53
- "SHARED_LIB_PREFIX",
54
- "SHARED_LIB_SUFFIX",
55
- "STATIC_LIB_PREFIX",
56
- "STATIC_LIB_SUFFIX",
57
- ]
58
-
59
- # gypd doesn't define a default value for OS like many other generator
60
- # modules. Specify "-D OS=whatever" on the command line to provide a value.
61
- generator_default_variables = {}
62
-
63
- # gypd supports multiple toolsets
64
- generator_supports_multiple_toolsets = True
65
-
66
- # TODO(mark): This always uses <, which isn't right. The input module should
67
- # notify the generator to tell it which phase it is operating in, and this
68
- # module should use < for the early phase and then switch to > for the late
69
- # phase. Bonus points for carrying @ back into the output too.
70
- for v in _generator_identity_variables:
71
- generator_default_variables[v] = "<(%s)" % v
72
-
73
-
74
- def GenerateOutput(target_list, target_dicts, data, params):
75
- output_files = {}
76
- for qualified_target in target_list:
77
- [input_file, target] = gyp.common.ParseQualifiedTarget(qualified_target)[0:2]
78
-
79
- if input_file[-4:] != ".gyp":
80
- continue
81
- input_file_stem = input_file[:-4]
82
- output_file = input_file_stem + params["options"].suffix + ".gypd"
83
-
84
- output_files[output_file] = output_files.get(output_file, input_file)
85
-
86
- for output_file, input_file in output_files.items():
87
- output = open(output_file, "w")
88
- pprint.pprint(data[input_file], output)
89
- output.close()
@@ -1,58 +0,0 @@
1
- # Copyright (c) 2011 Google Inc. All rights reserved.
2
- # Use of this source code is governed by a BSD-style license that can be
3
- # found in the LICENSE file.
4
-
5
- """gypsh output module
6
-
7
- gypsh is a GYP shell. It's not really a generator per se. All it does is
8
- fire up an interactive Python session with a few local variables set to the
9
- variables passed to the generator. Like gypd, it's intended as a debugging
10
- aid, to facilitate the exploration of .gyp structures after being processed
11
- by the input module.
12
-
13
- The expected usage is "gyp -f gypsh -D OS=desired_os".
14
- """
15
-
16
-
17
- import code
18
- import sys
19
-
20
-
21
- # All of this stuff about generator variables was lovingly ripped from gypd.py.
22
- # That module has a much better description of what's going on and why.
23
- _generator_identity_variables = [
24
- "EXECUTABLE_PREFIX",
25
- "EXECUTABLE_SUFFIX",
26
- "INTERMEDIATE_DIR",
27
- "PRODUCT_DIR",
28
- "RULE_INPUT_ROOT",
29
- "RULE_INPUT_DIRNAME",
30
- "RULE_INPUT_EXT",
31
- "RULE_INPUT_NAME",
32
- "RULE_INPUT_PATH",
33
- "SHARED_INTERMEDIATE_DIR",
34
- ]
35
-
36
- generator_default_variables = {}
37
-
38
- for v in _generator_identity_variables:
39
- generator_default_variables[v] = "<(%s)" % v
40
-
41
-
42
- def GenerateOutput(target_list, target_dicts, data, params):
43
- locals = {
44
- "target_list": target_list,
45
- "target_dicts": target_dicts,
46
- "data": data,
47
- }
48
-
49
- # Use a banner that looks like the stock Python one and like what
50
- # code.interact uses by default, but tack on something to indicate what
51
- # locals are available, and identify gypsh.
52
- banner = "Python {} on {}\nlocals.keys() = {}\ngypsh".format(
53
- sys.version,
54
- sys.platform,
55
- repr(sorted(locals.keys())),
56
- )
57
-
58
- code.interact(banner, local=locals)