Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phortune/editor/PhortuneAccountEditEngine.php
Show First 20 Lines • Show All 93 Lines • ▼ Show 20 Lines | $fields = array( | ||||
->setMetadataValue( | ->setMetadataValue( | ||||
'edge:type', | 'edge:type', | ||||
PhortuneAccountHasMemberEdgeType::EDGECONST) | PhortuneAccountHasMemberEdgeType::EDGECONST) | ||||
->setDescription(pht('Initial account managers.')) | ->setDescription(pht('Initial account managers.')) | ||||
->setConduitDescription(pht('Set account managers.')) | ->setConduitDescription(pht('Set account managers.')) | ||||
->setConduitTypeDescription(pht('New list of managers.')) | ->setConduitTypeDescription(pht('New list of managers.')) | ||||
->setInitialValue($object->getMemberPHIDs()) | ->setInitialValue($object->getMemberPHIDs()) | ||||
->setValue($member_phids), | ->setValue($member_phids), | ||||
id(new PhabricatorTextEditField()) | |||||
->setKey('billingName') | |||||
->setLabel(pht('Billing Name')) | |||||
->setDescription(pht('Account name for billing purposes.')) | |||||
->setConduitTypeDescription(pht('New account billing name.')) | |||||
->setTransactionType( | |||||
PhortuneAccountBillingNameTransaction::TRANSACTIONTYPE) | |||||
->setValue($object->getBillingName()), | |||||
id(new PhabricatorTextAreaEditField()) | |||||
->setKey('billingAddress') | |||||
->setLabel(pht('Billing Address')) | |||||
->setDescription(pht('Account billing address.')) | |||||
->setConduitTypeDescription(pht('New account billing address.')) | |||||
->setTransactionType( | |||||
PhortuneAccountBillingAddressTransaction::TRANSACTIONTYPE) | |||||
->setValue($object->getBillingAddress()), | |||||
); | ); | ||||
return $fields; | return $fields; | ||||
} | } | ||||
} | } |