Differential D20732 Diff 49439 src/applications/phortune/controller/account/PhortuneAccountChargesController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phortune/controller/account/PhortuneAccountChargesController.php
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Lines | foreach ($charges as $charge) { | ||||
$phids[] = $charge->getProviderPHID(); | $phids[] = $charge->getProviderPHID(); | ||||
$phids[] = $charge->getCartPHID(); | $phids[] = $charge->getCartPHID(); | ||||
$phids[] = $charge->getMerchantPHID(); | $phids[] = $charge->getMerchantPHID(); | ||||
$phids[] = $charge->getPaymentMethodPHID(); | $phids[] = $charge->getPaymentMethodPHID(); | ||||
} | } | ||||
$handles = $this->loadViewerHandles($phids); | $handles = $this->loadViewerHandles($phids); | ||||
$charges_uri = $this->getApplicationURI($account->getID().'/charge/'); | $charges_uri = $account->getChargeListURI(); | ||||
$table = id(new PhortuneChargeTableView()) | $table = id(new PhortuneChargeTableView()) | ||||
->setUser($viewer) | ->setUser($viewer) | ||||
->setCharges($charges) | ->setCharges($charges) | ||||
->setHandles($handles); | ->setHandles($handles); | ||||
$header = id(new PHUIHeaderView()) | $header = id(new PHUIHeaderView()) | ||||
->setHeader(pht('Recent Charges')) | ->setHeader(pht('Recent Charges')) | ||||
Show All 14 Lines |