ajout libelle status dans liste docs
This commit is contained in:
@@ -19,8 +19,8 @@ pyramid.includes =
|
|||||||
pyramid_tm
|
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!@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
|
# sqlalchemy.url = mysql://phuoc:phuoc!@192.168.0.31/bddevfac?charset=utf8
|
||||||
|
|
||||||
mondumas.admin_email = peinture-dumas@entreprise-dumas.com
|
mondumas.admin_email = peinture-dumas@entreprise-dumas.com
|
||||||
|
|||||||
@@ -2,19 +2,11 @@ Metadata-Version: 2.1
|
|||||||
Name: mondumas
|
Name: mondumas
|
||||||
Version: 1.0
|
Version: 1.0
|
||||||
Summary: mondumas
|
Summary: mondumas
|
||||||
Home-page:
|
Home-page: UNKNOWN
|
||||||
Author:
|
Author:
|
||||||
Author-email:
|
Author-email:
|
||||||
License: UNKNOWN
|
License: UNKNOWN
|
||||||
Keywords: web wsgi bfg pylons pyramid
|
Description: # README #
|
||||||
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 #
|
|
||||||
|
|
||||||
Cette application web permet aux collaborateurs de l'entreprise Dumas :
|
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
|
- 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
|
README.md
|
||||||
bitbucket app password.txt
|
bitbucket app password.txt
|
||||||
development.ini
|
development.ini
|
||||||
diff.txt
|
|
||||||
production.ini
|
production.ini
|
||||||
pytest.ini
|
pytest.ini
|
||||||
setup.py
|
setup.py
|
||||||
|
|||||||
@@ -1,2 +1,4 @@
|
|||||||
[paste.app_factory]
|
[paste.app_factory]
|
||||||
main = mondumas:main
|
main = mondumas:main
|
||||||
|
[console_scripts]
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
pyramid
|
pyramid==1.10
|
||||||
pyramid_chameleon
|
pyramid_chameleon
|
||||||
pyramid_debugtoolbar
|
pyramid_debugtoolbar
|
||||||
pyramid_layout
|
pyramid_layout
|
||||||
@@ -8,7 +8,7 @@ SQLAlchemy==1.2.19
|
|||||||
transaction
|
transaction
|
||||||
zope.sqlalchemy==1.1
|
zope.sqlalchemy==1.1
|
||||||
waitress
|
waitress
|
||||||
mysqlclient
|
mysqlclient==2.1
|
||||||
docutils
|
docutils
|
||||||
pdfkit
|
pdfkit
|
||||||
python-dateutil
|
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})
|
execute_query(request, query, {'societe': societe, 'cd_cli': cd_cli})
|
||||||
|
|
||||||
def delete_client_unused(request):
|
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, {})
|
execute_query(request, query, {})
|
||||||
|
|
||||||
def update_stats_delais(request, societe, date, groupe):
|
def update_stats_delais(request, societe, date, groupe):
|
||||||
|
|||||||
@@ -209,7 +209,7 @@
|
|||||||
<td>${detail.date.strftime('%d-%m-%Y')}</td>
|
<td>${detail.date.strftime('%d-%m-%Y')}</td>
|
||||||
<td>${detail.nomcli}</td>
|
<td>${detail.nomcli}</td>
|
||||||
<td class="text-right"><span tal:condition="access > 1">${layout.to_euro(detail.montant)}</span></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>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -44,9 +44,9 @@ def batch_nuit(request):
|
|||||||
if TODAY.day == 1 :
|
if TODAY.day == 1 :
|
||||||
# données de + 10 ans
|
# données de + 10 ans
|
||||||
until_date = date(TODAY.year - 10, TODAY.month, 1)
|
until_date = date(TODAY.year - 10, TODAY.month, 1)
|
||||||
# purge_mensuelle(request, until_date)
|
purge_mensuelle(request, until_date)
|
||||||
# purge_clients(request)
|
purge_clients(request)
|
||||||
# delete_orphan_attached_files(request)
|
delete_orphan_attached_files(request)
|
||||||
|
|
||||||
"""
|
"""
|
||||||
# ----- MAJ STATS DELAIS de traitements des dossiers sur 1 an
|
# ----- MAJ STATS DELAIS de traitements des dossiers sur 1 an
|
||||||
@@ -243,9 +243,9 @@ def batch_test(request):
|
|||||||
"""
|
"""
|
||||||
# données de + 10 ans
|
# données de + 10 ans
|
||||||
until_date = date(TODAY.year - 10, TODAY.month, 1)
|
until_date = date(TODAY.year - 10, TODAY.month, 1)
|
||||||
# purge_mensuelle(request, until_date)
|
purge_mensuelle(request, until_date)
|
||||||
purge_clients(request)
|
purge_clients(request)
|
||||||
# delete_orphan_attached_files(request)
|
delete_orphan_attached_files(request)
|
||||||
|
|
||||||
# update_chantiers_delais(request, date(TODAY.year - 1, TODAY.month, 1))
|
# update_chantiers_delais(request, date(TODAY.year - 1, TODAY.month, 1))
|
||||||
insert_log(request, 'TEST','- Fin -')
|
insert_log(request, 'TEST','- Fin -')
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -9,7 +9,7 @@ with open(os.path.join(here, 'CHANGES.txt')) as f:
|
|||||||
CHANGES = f.read()
|
CHANGES = f.read()
|
||||||
|
|
||||||
requires = [
|
requires = [
|
||||||
'pyramid',
|
'pyramid == 1.10',
|
||||||
'pyramid_chameleon',
|
'pyramid_chameleon',
|
||||||
'pyramid_debugtoolbar',
|
'pyramid_debugtoolbar',
|
||||||
'pyramid_layout',
|
'pyramid_layout',
|
||||||
|
|||||||
Reference in New Issue
Block a user