|
@@ 653-656 (lines=4) @@
|
| 650 |
|
} |
| 651 |
|
|
| 652 |
|
$parcela = $this->xml->InstrucaoUnica->Parcelamentos->addChild('Parcelamento'); |
| 653 |
|
if (is_numeric($min) && $min <= 12) |
| 654 |
|
$parcela->addChild('MinimoParcelas', $min); |
| 655 |
|
else |
| 656 |
|
$this->setError('Error: Minimum parcel can not be greater than 12.'); |
| 657 |
|
|
| 658 |
|
if (is_numeric($max) && $max <= 12) |
| 659 |
|
$parcela->addChild('MaximoParcelas', $max); |
|
@@ 658-661 (lines=4) @@
|
| 655 |
|
else |
| 656 |
|
$this->setError('Error: Minimum parcel can not be greater than 12.'); |
| 657 |
|
|
| 658 |
|
if (is_numeric($max) && $max <= 12) |
| 659 |
|
$parcela->addChild('MaximoParcelas', $max); |
| 660 |
|
else |
| 661 |
|
$this->setError('Error: Maximum amount can not be greater than 12.'); |
| 662 |
|
|
| 663 |
|
$parcela->addChild('Recebimento', $this->receipt($receipt)); |
| 664 |
|
|