Skip to content

Commit c4bdfd0

Browse files
authored
Merge pull request #6 from SankyuTech/develop
bugfix setUpAllowanceCharges setup param
2 parents a492f6c + a7f906a commit c4bdfd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/One/Mapper/AllowanceCharges.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function setCharges($amount = 0,$reason = "Charge"){
1919

2020
public function setDiscount($amount = 0 ,$reason = "Discount"){
2121

22-
$this->item['allowance_charges']['discount'] = $amount != 0 ?
22+
$this->data['allowance_charges']['discount'] = $amount != 0 ?
2323
[
2424
'reason' => $reason,
2525
'amount' => $amount

0 commit comments

Comments
 (0)