issue #0001391 : Add id to delete document
This commit is contained in:
parent
341e5f90a3
commit
89521e5bf5
@ -1902,6 +1902,7 @@ class Saisie extends WsScore
|
||||
|
||||
foreach ( $rowset as $item ) {
|
||||
$struct = new LienDoc();
|
||||
$struct->id = $item->id;
|
||||
$struct->perimetre = $item->periDoc;
|
||||
$params = explode('-', $item->docRef);
|
||||
switch($params[0]) {
|
||||
@ -1921,7 +1922,7 @@ class Saisie extends WsScore
|
||||
'DW'=>"Document Web/Internet",
|
||||
);
|
||||
$struct->label = $tabLabel[$params[2]].' ('.WDate::dateT('Ymd', 'd/m/Y', $params[3]).')';
|
||||
$struct->url = $item->docRef;
|
||||
$struct->url = $item->docRef.'.pdf';
|
||||
break;
|
||||
case 'GREFFE' :
|
||||
$struct->label = $item->docRef;
|
||||
|
@ -314,6 +314,9 @@ class SearchLienRef
|
||||
|
||||
class LienDoc
|
||||
{
|
||||
/** @var int */
|
||||
public $id;
|
||||
|
||||
/** @var string */
|
||||
public $perimetre;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user