Permalink
Browse files

update mapping for change in numberCyclesBilled naming

  • Loading branch information...
1 parent 388a7f9 commit aa536f8d3da6314c7bf9f24006233918ae02d3a0 @iampersistent iampersistent committed Jan 25, 2013
@@ -76,7 +76,7 @@ public function createBillingAgreements(OrderInterface $order)
foreach ($order->getItems() as $item) {
$pricingSet = $item->getPricing();
- $startDate = new \DateTime('now');
+ $startDate = new \DateTime('today');
$billingAgreement = new BillingAgreement();
$billingAgreement
@@ -16,8 +16,8 @@
<field name="createdAt" type="datetime" />
<field name="initialBillingDate" type="datetime" />
<field name="nextBillingDate" type="datetime" />
+ <field name="numberCyclesBilled" type="integer" />
<field name="paymentGateway" type="string" />
- <field name="processedCycles" type="integer" />
<field name="updatedAt" type="datetime" />
<one-to-one field="partner" target-entity="Vespolina\Entity\Partner\PartnerInterface">

0 comments on commit aa536f8

Please sign in to comment.