coati-payroll 0.0.7__py3-none-any.whl → 0.0.9__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 coati-payroll might be problematic. Click here for more details.

coati_payroll/cli.py CHANGED
@@ -152,7 +152,15 @@ class PluginsCommand(click.Group):
152
152
  """Habilita el plugin en el registro (active=True)."""
153
153
  try:
154
154
  sync_plugin_registry()
155
- record = db.session.execute(db.select(PluginRegistry).filter_by(plugin_id=name)).scalars().first()
155
+ record = (
156
+ db.session.execute(
157
+ db.select(PluginRegistry).filter(
158
+ (PluginRegistry.plugin_id == name) | (PluginRegistry.distribution_name == name)
159
+ )
160
+ )
161
+ .scalars()
162
+ .first()
163
+ )
156
164
  if record is None:
157
165
  raise click.ClickException("Plugin no registrado en la base de datos")
158
166
  if not record.installed:
@@ -174,7 +182,15 @@ class PluginsCommand(click.Group):
174
182
  """Deshabilita el plugin en el registro (active=False)."""
175
183
  try:
176
184
  sync_plugin_registry()
177
- record = db.session.execute(db.select(PluginRegistry).filter_by(plugin_id=name)).scalars().first()
185
+ record = (
186
+ db.session.execute(
187
+ db.select(PluginRegistry).filter(
188
+ (PluginRegistry.plugin_id == name) | (PluginRegistry.distribution_name == name)
189
+ )
190
+ )
191
+ .scalars()
192
+ .first()
193
+ )
178
194
  if record is None:
179
195
  raise click.ClickException("Plugin no registrado en la base de datos")
180
196
  record.active = False
@@ -747,7 +747,9 @@ label{ color: var(--text-primary); font-size: 12px; font-weight: 500; }
747
747
  /* Sidebar opens fully expanded on mobile (no collapse behavior) */
748
748
  .sidebar.open{ left: 0; width: 240px; }
749
749
  .sidebar:hover { width: 240px; }
750
- .sidebar .nav-link span { opacity: 1; }
750
+ .sidebar .nav-link > span {
751
+ width: auto;
752
+ }
751
753
  .sidebar .nav-link span span { opacity: 1; }
752
754
  .sidebar .sidebar-header {
753
755
  opacity: 1;
coati_payroll/version.py CHANGED
@@ -12,7 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
  """
15
- Data model for the payroll module.
15
+ Canonical version of coati_payroll.
16
16
  """
17
17
 
18
- __version__ = "0.0.7"
18
+ __version__ = "0.0.9"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: coati-payroll
3
- Version: 0.0.7
3
+ Version: 0.0.9
4
4
  Summary: A jurisdiction-agnostic payroll calculation engine.
5
5
  Requires-Python: >=3.11
6
6
  Description-Content-Type: text/markdown
@@ -2,7 +2,7 @@ coati_payroll/__init__.py,sha256=UMMb03475dPNvlnvP4TuyNH0GAmL1FjPi5ND92-igbc,161
2
2
  coati_payroll/app.py,sha256=PPn5U2ViKU8yRiP0OMPkozq4CRWxp9Un27R_jAAkQ_g,3502
3
3
  coati_payroll/audit_helpers.py,sha256=0BDspyO5eQLRrdUCUcu5xe7F--2a-8OOAcejLJ4CcAg,27556
4
4
  coati_payroll/auth.py,sha256=v8yzxQnDZy3kbJnt9MWikyDJNwgCSkZpvfwARUnDh4s,4436
5
- coati_payroll/cli.py,sha256=mDpvB-n7zkruH3lvf9rlgKNP-9LVu8gexyV3rpF1gYA,47474
5
+ coati_payroll/cli.py,sha256=n1DbogA1dYH_Jbs393pvpT_DPi6vSwKWR0sGjsYcbhY,47962
6
6
  coati_payroll/config.py,sha256=dM3kcUsW6_gR1Vopdb_28fWxmhUi7lkj30kJfSU8zrY,9420
7
7
  coati_payroll/demo_data.py,sha256=pE7DUwZWq3jHCwt6vO_kW0sIuMFJmu9u1pqKUGWF9Ag,31437
8
8
  coati_payroll/enums.py,sha256=TEJ8Yxy-0UPsQUSDs7pbZgOg-VoqFOx8KnY0lTh3KzA,9211
@@ -23,7 +23,7 @@ coati_payroll/schema_validator.py,sha256=wa2X7VrXrEA6OzybycHdMD7smKqeF6Vp7oNSmV7
23
23
  coati_payroll/security.py,sha256=EYARqQI6llhfczpGamaaJdFF0fLBHn0-2dWcXy6kEO0,3040
24
24
  coati_payroll/system_reports.py,sha256=b0rLFUsGt-KYZPWh4tSpBeGqdJBOYfIO3cDuIAFJMIg,20406
25
25
  coati_payroll/vacation_service.py,sha256=iMgE7CcCfd5ytCWknyokFlphfYrnmAu6jtlPIPzgpHQ,17600
26
- coati_payroll/version.py,sha256=GvHoJEBHSPur034uKxNMWbpzd5Jp-srmBRasJ0r8KIE,649
26
+ coati_payroll/version.py,sha256=HMZR0y5DSyL_cyJw4lIb_vBV8YVKPSAWqwztiM0jZUk,650
27
27
  coati_payroll/formula_engine/__init__.py,sha256=Nixn2nFtOk6PGZpnXCwRLnb-Pid_lz6qPRIv7j2P3HM,2461
28
28
  coati_payroll/formula_engine/data_sources.py,sha256=_UapWZiyWUqADnafpcd8936Vpg3Av_R2wxbvUEEi9Dc,30785
29
29
  coati_payroll/formula_engine/engine.py,sha256=f3a7mM8ckiGtE6RMK9ByEZdsllSGUsBLi19WxreDYsE,8897
@@ -107,7 +107,7 @@ coati_payroll/queue/drivers/__init__.py,sha256=Hyk6C7ecWBv7NDC5q047EVnJy2ETue97M
107
107
  coati_payroll/queue/drivers/dramatiq_driver.py,sha256=-mSLzIpy0DixQOAt_btv0dQC4D05Ut-41VlR7QIfFsQ,9083
108
108
  coati_payroll/queue/drivers/huey_driver.py,sha256=95edM5R1N-03rdSQb1t3VeH4SG99pxJn7i3RmG3ZrwM,13668
109
109
  coati_payroll/queue/drivers/noop_driver.py,sha256=Kd2wjCTSGa-T2JzblSlDtf6GfL1-r8A_495qDTVdE1I,1804
110
- coati_payroll/static/styles.css,sha256=54CyM8Ff6OvFlooiZOY1zHWc9mPvMKlSKb-xCrs2OmM,22969
110
+ coati_payroll/static/styles.css,sha256=EXy8GO8uxZ5WwM7KH5BbEMdFC3_4-oES0ipbUXA5dEE,22980
111
111
  coati_payroll/static/logo/Icono-small.png,sha256=x5Mh307ZRiyldYS5oWyaSa-w666rSVEuNtiGwhgLwxg,5949
112
112
  coati_payroll/static/logo/Icono.png,sha256=QvxFpfx43nV8V9ebqTVMcFj4HqM5jvpD_pDp_0FrR-E,15733
113
113
  coati_payroll/static/logo/Icono.svg,sha256=1EOrn-1KluJh_4-AZKhzTiE7yyt2hScAB4dGC0bPfek,2777
@@ -238,9 +238,9 @@ coati_payroll/vistas/planilla/services/novedad_service.py,sha256=MYxbiqVrwzBbBTX
238
238
  coati_payroll/vistas/planilla/services/planilla_service.py,sha256=xpqxD6XLdTMRJfbPhvpWSYW7P6IcHKZgW6Ahg7kthk4,1195
239
239
  coati_payroll/vistas/planilla/validators/__init__.py,sha256=K-WnUGZaMYX-2DcduB-yMssuxUlztMCQKuGfqK67Vsk,754
240
240
  coati_payroll/vistas/planilla/validators/planilla_validators.py,sha256=WH1cyY1D7XPSb3MupNszofT3-YvgqBfp8vFDpo8hDA8,1680
241
- coati_payroll-0.0.7.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
242
- coati_payroll-0.0.7.dist-info/METADATA,sha256=ZoyFZS2uXCkabyQsT5uyow5oNwkVoWZgFXEL3SZ_liY,22236
243
- coati_payroll-0.0.7.dist-info/WHEEL,sha256=hPN0AlP2dZM_3ZJZWP4WooepkmU9wzjGgCLCeFjkHLA,92
244
- coati_payroll-0.0.7.dist-info/entry_points.txt,sha256=GtZVGVYEFlpeSs7eHYh701VG7ftRRrZ54fsyFmbeZZc,54
245
- coati_payroll-0.0.7.dist-info/top_level.txt,sha256=wRaRlWHJnSoqktbTT1XJUkPNgKnR7VS75Ytyl8JJYPY,14
246
- coati_payroll-0.0.7.dist-info/RECORD,,
241
+ coati_payroll-0.0.9.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
242
+ coati_payroll-0.0.9.dist-info/METADATA,sha256=rna4Pt38udfQM7FXZGdvVwx-RE_669ugOKvrrkJb__s,22236
243
+ coati_payroll-0.0.9.dist-info/WHEEL,sha256=hPN0AlP2dZM_3ZJZWP4WooepkmU9wzjGgCLCeFjkHLA,92
244
+ coati_payroll-0.0.9.dist-info/entry_points.txt,sha256=GtZVGVYEFlpeSs7eHYh701VG7ftRRrZ54fsyFmbeZZc,54
245
+ coati_payroll-0.0.9.dist-info/top_level.txt,sha256=wRaRlWHJnSoqktbTT1XJUkPNgKnR7VS75Ytyl8JJYPY,14
246
+ coati_payroll-0.0.9.dist-info/RECORD,,