Differential D20733 Diff 49440 src/applications/phortune/controller/account/PhortuneAccountOrderListController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phortune/controller/account/PhortuneAccountOrderListController.php
- This file was copied to src/applications/phortune/controller/merchant/PhortuneMerchantOrderListController.php, src/applications/phortune/controller/merchant/PhortuneMerchantSubscriptionListController.php.
Show All 38 Lines | protected function buildApplicationCrumbs() { | ||||
$subscription = $this->subscription; | $subscription = $this->subscription; | ||||
if ($subscription) { | if ($subscription) { | ||||
$crumbs->addTextCrumb( | $crumbs->addTextCrumb( | ||||
$subscription->getObjectName(), | $subscription->getObjectName(), | ||||
$subscription->getURI()); | $subscription->getURI()); | ||||
} else if ($this->hasAccount()) { | } else if ($this->hasAccount()) { | ||||
$account = $this->getAccount(); | $account = $this->getAccount(); | ||||
$id = $account->getID(); | |||||
$crumbs->addTextCrumb( | $crumbs->addTextCrumb(pht('Orders'), $account->getOrdersURI()); | ||||
pht('Orders'), | |||||
$account->getOrdersURI()); | |||||
} | } | ||||
return $crumbs; | return $crumbs; | ||||
} | } | ||||
} | } |