Skip to content

Commit

Permalink
Fix recur - rcur
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Oct 11, 2017
1 parent 7c29bb5 commit dd15884
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion htdocs/compta/prelevement/class/bonprelevement.class.php
Expand Up @@ -857,7 +857,7 @@ function Create($banque=0, $agence=0, $mode='real', $format='ALL')
$bac->fetch(0, $soc->id);

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)
{
Expand Down
2 changes: 1 addition & 1 deletion htdocs/compta/prelevement/create.php
Expand Up @@ -46,7 +46,7 @@
// Get supervariables
$action = GETPOST('action','alpha');
$mode = GETPOST('mode','alpha')?GETPOST('mode','alpha'):'real';
$format = GETPOST('format','alpha');
$format = GETPOST('format','aZ09');


/*
Expand Down

0 comments on commit dd15884

Please sign in to comment.