Model of operation in a DIV
This commit is contained in:
parent
f241ffc1c4
commit
65b7553fa2
10 changed files with 88 additions and 78 deletions
|
|
@ -165,7 +165,7 @@ global $g_parameter;
|
|||
//
|
||||
// pre defined operation
|
||||
//
|
||||
|
||||
echo '<div class="content">';
|
||||
if ( !isset($_REQUEST ['p_jrn']) )
|
||||
{
|
||||
$def_ledger=$Ledger->get_first('ven',2);
|
||||
|
|
@ -181,17 +181,14 @@ global $g_parameter;
|
|||
$Ledger->id=$_REQUEST['p_jrn_predef'];
|
||||
}
|
||||
|
||||
echo '<div id="predef_form">';
|
||||
echo '<form style="display:inline" method="GET" >';
|
||||
echo HtmlInput::hidden('ac',$_REQUEST['ac']);
|
||||
echo dossier::hidden();
|
||||
echo HtmlInput::hidden('p_jrn_predef',$Ledger->id);
|
||||
echo '<div id="predef_form">';
|
||||
echo HtmlInput::hidden('p_jrn_predef', $Ledger->id);
|
||||
$op=new Pre_op_ven($cn);
|
||||
$op->set('ledger',$Ledger->id);
|
||||
$op->set('ledger_type',"VEN");
|
||||
$op->set('direct','f');
|
||||
echo $op->form_get();
|
||||
echo '</form>';
|
||||
$url=http_build_query(array('p_jrn_predef'=>$Ledger->id,'ac'=>$_REQUEST['ac'],'gDossier'=>dossier::id()));
|
||||
echo $op->form_get('do.php?'.$url);
|
||||
echo '</div>';
|
||||
|
||||
echo '<div class="content">';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue