issue #0001541 : Ajout de la date de depot pour la selection, il est possible de trouver le même numéro de dépot dans la liste
This commit is contained in:
parent
f4000884f5
commit
fed194093f
@ -475,7 +475,7 @@ class Metier_Infogreffe_Ac extends Metier_Infogreffe
|
||||
$sql = $acteM->select()
|
||||
->where('siren=?', $list['num_siren'])
|
||||
->where('num_depot=?', intval($list['num_depot']))
|
||||
//->where('date_depot=?', $list['date_depot'])
|
||||
->where('date_depot=?', $list['date_depot'])
|
||||
//->where('date_acte=?', $depot['date_acte'])
|
||||
->where('num_acte=?', intval($depot['num_acte']))
|
||||
->order('dateInsert DESC');
|
||||
@ -503,6 +503,7 @@ class Metier_Infogreffe_Ac extends Metier_Infogreffe
|
||||
$result = $acteM->delete(array(
|
||||
'siren='.$this->siren,
|
||||
'num_depot='.intval($list['num_depot']),
|
||||
'date_depot="'.$list['date_depot'].'"',
|
||||
'num_acte='.intval($depot['num_acte']),
|
||||
'id!='.$item->id,
|
||||
));
|
||||
|
Loading…
Reference in New Issue
Block a user