commit
c8a634fa08
@ -212,9 +212,9 @@ class NumberingModulesTest extends PHPUnit_Framework_TestCase
|
|||||||
$this->assertEquals(1, $result); // Case 1 can be deleted (because there was a reset for case 2)
|
$this->assertEquals(1, $result); // Case 1 can be deleted (because there was a reset for case 2)
|
||||||
|
|
||||||
// Try an offset when an invoice already exists
|
// Try an offset when an invoice already exists
|
||||||
$conf->global->FACTURE_MERCURE_MASK_CREDIT='{yyyy}{mm}-{0000+9990}';
|
$conf->global->FACTURE_MERCURE_MASK_CREDIT='{yyyy}{mm}-{0000+9990}';
|
||||||
$conf->global->FACTURE_MERCURE_MASK_INVOICE='{yyyy}{mm}-{0000+9990}';
|
$conf->global->FACTURE_MERCURE_MASK_INVOICE='{yyyy}{mm}-{0000+9990}';
|
||||||
$result=$numbering->getNextValue($mysoc, $localobject2);
|
$result=$numbering->getNextValue($mysoc, $localobject2);
|
||||||
|
|
||||||
// Now we try with a different fiscal month (forced by mask)
|
// Now we try with a different fiscal month (forced by mask)
|
||||||
$conf->global->FACTURE_MERCURE_MASK_CREDIT='{yyyy}{mm}-{0000@6}';
|
$conf->global->FACTURE_MERCURE_MASK_CREDIT='{yyyy}{mm}-{0000@6}';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user