mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Add mid to declare popup URL
This commit is contained in:
parent
68829a3427
commit
7df902a282
1 changed files with 2 additions and 2 deletions
|
|
@ -507,12 +507,12 @@ class documentModel extends document
|
|||
// Adding Report
|
||||
if($oDocument->getDeclared())
|
||||
{
|
||||
$url = getUrl('', 'act', 'dispDocumentDeclare', 'target_srl', $document_srl, 'type', 'cancel');
|
||||
$url = getUrl('', 'mid', $oDocument->getDocumentMid(), 'act', 'dispDocumentDeclare', 'target_srl', $document_srl, 'type', 'cancel');
|
||||
$oDocumentController->addDocumentPopupMenu($url,'cmd_cancel_declare','','popup');
|
||||
}
|
||||
else
|
||||
{
|
||||
$url = getUrl('', 'act', 'dispDocumentDeclare', 'target_srl', $document_srl);
|
||||
$url = getUrl('', 'mid', $oDocument->getDocumentMid(), 'act', 'dispDocumentDeclare', 'target_srl', $document_srl);
|
||||
$oDocumentController->addDocumentPopupMenu($url,'cmd_declare','','popup');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue