ajout libelle status dans liste docs
This commit is contained in:
@@ -19,8 +19,8 @@ pyramid.includes =
|
||||
pyramid_tm
|
||||
|
||||
|
||||
# sqlalchemy.url = mysql://dumas_ro:dumas_RO!@localhost/bddevfac?charset=utf8
|
||||
sqlalchemy.url = mysql://phuoc:phuoc!@localhost/bddevfac?charset=utf8
|
||||
# sqlalchemy.url = mysql://phuoc:phuoc!@192.168.1.14/bddevfac?charset=utf8
|
||||
# sqlalchemy.url = mysql://phuoc:phuoc!@192.168.0.31/bddevfac?charset=utf8
|
||||
|
||||
mondumas.admin_email = peinture-dumas@entreprise-dumas.com
|
||||
|
||||
@@ -2,19 +2,11 @@ Metadata-Version: 2.1
|
||||
Name: mondumas
|
||||
Version: 1.0
|
||||
Summary: mondumas
|
||||
Home-page:
|
||||
Home-page: UNKNOWN
|
||||
Author:
|
||||
Author-email:
|
||||
License: UNKNOWN
|
||||
Keywords: web wsgi bfg pylons pyramid
|
||||
Platform: UNKNOWN
|
||||
Classifier: Programming Language :: Python
|
||||
Classifier: Framework :: Pyramid
|
||||
Classifier: Topic :: Internet :: WWW/HTTP
|
||||
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application
|
||||
Provides-Extra: testing
|
||||
|
||||
# README #
|
||||
Description: # README #
|
||||
|
||||
Cette application web permet aux collaborateurs de l'entreprise Dumas :
|
||||
|
||||
@@ -57,4 +49,10 @@ Elle est développée avec les composants open source suivants :
|
||||
|
||||
- Initial version
|
||||
|
||||
|
||||
Keywords: web wsgi bfg pylons pyramid
|
||||
Platform: UNKNOWN
|
||||
Classifier: Programming Language :: Python
|
||||
Classifier: Framework :: Pyramid
|
||||
Classifier: Topic :: Internet :: WWW/HTTP
|
||||
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application
|
||||
Provides-Extra: testing
|
||||
|
||||
@@ -3,7 +3,6 @@ MANIFEST.in
|
||||
README.md
|
||||
bitbucket app password.txt
|
||||
development.ini
|
||||
diff.txt
|
||||
production.ini
|
||||
pytest.ini
|
||||
setup.py
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
[paste.app_factory]
|
||||
main = mondumas:main
|
||||
[console_scripts]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
pyramid
|
||||
pyramid==1.10
|
||||
pyramid_chameleon
|
||||
pyramid_debugtoolbar
|
||||
pyramid_layout
|
||||
@@ -8,7 +8,7 @@ SQLAlchemy==1.2.19
|
||||
transaction
|
||||
zope.sqlalchemy==1.1
|
||||
waitress
|
||||
mysqlclient
|
||||
mysqlclient==2.1
|
||||
docutils
|
||||
pdfkit
|
||||
python-dateutil
|
||||
|
||||
@@ -206,7 +206,7 @@ def update_client_dern_operation(request, societe, cd_cli, dern_operation):
|
||||
execute_query(request, query, {'societe': societe, 'cd_cli': cd_cli})
|
||||
|
||||
def delete_client_unused(request):
|
||||
query = "DELETE FROM clients WHERE cd_cli <> 1 AND dern_operation IS NULL AND YEAR(cree_le) < YEAR(CURRENT_DATE()) - 2;"
|
||||
query = "DELETE FROM clients WHERE cd_cli <> 1 AND dern_operation IS NULL AND YEAR(cree_le) < YEAR(CURRENT_DATE()) - 5;"
|
||||
execute_query(request, query, {})
|
||||
|
||||
def update_stats_delais(request, societe, date, groupe):
|
||||
|
||||
@@ -209,7 +209,7 @@
|
||||
<td>${detail.date.strftime('%d-%m-%Y')}</td>
|
||||
<td>${detail.nomcli}</td>
|
||||
<td class="text-right"><span tal:condition="access > 1">${layout.to_euro(detail.montant)}</span></td>
|
||||
<td class="text-center">${detail.status}</td>
|
||||
<td class="text-center">${detail.lib_status}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
@@ -44,9 +44,9 @@ def batch_nuit(request):
|
||||
if TODAY.day == 1 :
|
||||
# données de + 10 ans
|
||||
until_date = date(TODAY.year - 10, TODAY.month, 1)
|
||||
# purge_mensuelle(request, until_date)
|
||||
# purge_clients(request)
|
||||
# delete_orphan_attached_files(request)
|
||||
purge_mensuelle(request, until_date)
|
||||
purge_clients(request)
|
||||
delete_orphan_attached_files(request)
|
||||
|
||||
"""
|
||||
# ----- MAJ STATS DELAIS de traitements des dossiers sur 1 an
|
||||
@@ -243,9 +243,9 @@ def batch_test(request):
|
||||
"""
|
||||
# données de + 10 ans
|
||||
until_date = date(TODAY.year - 10, TODAY.month, 1)
|
||||
# purge_mensuelle(request, until_date)
|
||||
purge_mensuelle(request, until_date)
|
||||
purge_clients(request)
|
||||
# delete_orphan_attached_files(request)
|
||||
delete_orphan_attached_files(request)
|
||||
|
||||
# update_chantiers_delais(request, date(TODAY.year - 1, TODAY.month, 1))
|
||||
insert_log(request, 'TEST','- Fin -')
|
||||
|
||||
Reference in New Issue
Block a user