Fix recur - rcur
This commit is contained in:
parent
7c29bb5818
commit
dd15884f83
@ -857,7 +857,7 @@ class BonPrelevement extends CommonObject
|
|||||||
$bac->fetch(0, $soc->id);
|
$bac->fetch(0, $soc->id);
|
||||||
|
|
||||||
if ($format == 'FRST' && $bac->frstrecur != 'FRST') continue;
|
if ($format == 'FRST' && $bac->frstrecur != 'FRST') continue;
|
||||||
if ($format == 'RCUR' && $bac->frstrecur != 'RCUR') continue;
|
if ($format == 'RCUR' && ($bac->frstrecur != 'RCUR' && $bac->frstrecur != 'RECUR')) continue;
|
||||||
|
|
||||||
if ($bac->verif() >= 1)
|
if ($bac->verif() >= 1)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -46,7 +46,7 @@ $result = restrictedArea($user, 'prelevement', '', '', 'bons');
|
|||||||
// Get supervariables
|
// Get supervariables
|
||||||
$action = GETPOST('action','alpha');
|
$action = GETPOST('action','alpha');
|
||||||
$mode = GETPOST('mode','alpha')?GETPOST('mode','alpha'):'real';
|
$mode = GETPOST('mode','alpha')?GETPOST('mode','alpha'):'real';
|
||||||
$format = GETPOST('format','alpha');
|
$format = GETPOST('format','aZ09');
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user