client/skr/screens/invoice/Payment.cjsx in stockor-0.4.0 vs client/skr/screens/invoice/Payment.cjsx in stockor-0.5.0

- old
+ new

@@ -21,10 +21,10 @@ body: Skr.Screens.Invoice.Payment getInitialState: -> type: 'credit-card' - dataObjects: + modelBindings: invoice: 'props' payment: -> payment = @props.invoice.payments.find (pymnt) -> pymnt.isNew() payment ||= this.props.invoice.payments.add({ amount: @props.invoice.open_amount