Solve bug after the release in staging
This commit is contained in:
parent
26fe6f06f0
commit
ccb785f39c
23
docs/README
23
docs/README
@ -3,6 +3,8 @@ README
|
||||
|
||||
- System Requirements
|
||||
- Installation
|
||||
- Project
|
||||
- Library
|
||||
|
||||
Note : Project are define to be use on Linux Server, so take care about path and file name.
|
||||
Also some script (CLI) don't work on Windows.
|
||||
@ -11,12 +13,12 @@ Note : Project are define to be use on Linux Server, so take care about path and
|
||||
SYSTEM REQUIREMENTS
|
||||
===================
|
||||
|
||||
- Apache 2.2
|
||||
- PHP 5.3.x
|
||||
- APC
|
||||
- Chartdir library
|
||||
- browscap.ini (http://tempdownloads.browserscap.com/, http://browscap.org/)
|
||||
- wkhtmltopdf (http://code.google.com/p/wkhtmltopdf/)
|
||||
- Apache 2.2
|
||||
- PHP 5.3.x
|
||||
- APC
|
||||
- Chartdir library
|
||||
- browscap.ini (http://tempdownloads.browserscap.com/, http://browscap.org/)
|
||||
- wkhtmltopdf (http://code.google.com/p/wkhtmltopdf/)
|
||||
|
||||
|
||||
INSTALLATION
|
||||
@ -146,11 +148,14 @@ Partners
|
||||
|
||||
|
||||
|
||||
PROJECT
|
||||
=======
|
||||
|
||||
This application is a frontend for the WebService and it's display information graphically.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
LIBRARY
|
||||
=======
|
||||
|
||||
|
||||
|
||||
|
@ -634,12 +634,12 @@ class Infogreffe
|
||||
Zend_Registry::get('firebug')->info($result);
|
||||
$fichier = $this->pathData.$this->actePath($ref).$result->file;
|
||||
Zend_Registry::get('firebug')->info($fichier);
|
||||
$dateDepot = new Zend_Date($depot['date_depot'],'yyyy-MM-dd');
|
||||
if ( file_exists($fichier) )
|
||||
{
|
||||
Zend_Registry::get('firebug')->info($acte);
|
||||
if ($result->type != $acte['type_acte'] && $result->type2 == '') {
|
||||
Zend_Registry::get('firebug')->info('Update Database');
|
||||
$dateDepot = new Zend_Date($depot['date_depot'],'yyyy-MM-dd');
|
||||
//Add to the database
|
||||
try {
|
||||
$actesM->update(array(
|
||||
@ -702,7 +702,7 @@ class Infogreffe
|
||||
$tabActe['type'] = $acte['type_acte'];
|
||||
$tabActe['type_lib'] = $acte['type_acte_libelle'];
|
||||
$tabActe['decision'] = $acte['decision']['libelle'];
|
||||
$tabActe['date_acte'] = ($date!='') ? $dateF->toString('dd/MM/yyyy') : '';
|
||||
$tabActe['date_acte'] = $dateF->toString('dd/MM/yyyy');
|
||||
$tabActe['mode'] = $mode;
|
||||
$tabActe['ref'] = $ref;
|
||||
|
||||
|
@ -228,8 +228,12 @@ class Annonces
|
||||
*/
|
||||
protected function dateAnnonce($date)
|
||||
{
|
||||
$dateS = new Zend_Date($date, 'yyyy-MM-dd');
|
||||
return $dateS->toString('dd/MM/yyyy');
|
||||
if ( $date!='' ) {
|
||||
$dateS = new Zend_Date($date, 'yyyy-MM-dd');
|
||||
return $dateS->toString('dd/MM/yyyy');
|
||||
}
|
||||
|
||||
return '';
|
||||
}
|
||||
|
||||
protected function logoTitleAnnonce($ann)
|
||||
|
@ -531,12 +531,14 @@ class IdentiteEntreprise
|
||||
public function getDateCreaEnTexte()
|
||||
{
|
||||
$dateCreationEn = str_replace('-', '', $this->identite->DateCreaEn);
|
||||
if (substr($dateCreationEn, -2) * 1 == 0) {
|
||||
$date = new Zend_Date($dateCreationEn, 'yyyyMMdd');
|
||||
$data = $date->toString('MM/yyyy');
|
||||
} else {
|
||||
$date = new Zend_Date($dateCreationEn, 'yyyyMMdd');
|
||||
$data = $date->toString('dd/MM/yyyy');
|
||||
if ( $dateCreationEn!='' ) {
|
||||
if (substr($dateCreationEn, -2) * 1 == 0) {
|
||||
$date = new Zend_Date($dateCreationEn, 'yyyyMMdd');
|
||||
$data = $date->toString('MM/yyyy');
|
||||
} else {
|
||||
$date = new Zend_Date($dateCreationEn, 'yyyyMMdd');
|
||||
$data = $date->toString('dd/MM/yyyy');
|
||||
}
|
||||
}
|
||||
return $data;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user