Showing
2 changed files
with
5 additions
and
1 deletions
| ... | @@ -189,6 +189,10 @@ module ActsAsChargeable | ... | @@ -189,6 +189,10 @@ module ActsAsChargeable |
| 189 | def paypal_attributes | 189 | def paypal_attributes |
| 190 | sync_attributes[:paypal] || {} | 190 | sync_attributes[:paypal] || {} |
| 191 | end | 191 | end |
| 192 | + | ||
| 193 | + def var_payed? | ||
| 194 | + var_status == 'paid' | ||
| 195 | + end | ||
| 192 | end | 196 | end |
| 193 | end | 197 | end |
| 194 | 198 | ... | ... |
-
Please register or login to post a comment