Ejemplo n.º 1
0
$characterID = $this->phdGetCache("characterIDCache");
$sellPrice = $this->phdGetCache("priceSellCache");
$bpcPrice = $this->phdGetCache("priceBPCCache");
$partsPrice = $this->phdGetCache("priceCapitalPartsCache");
$slotPrice = $this->phdGetCache("priceSlotCache");
if ($characterID == 0) {
    $groupMembers = $this->getTrackingGroupMembers($group->trackingGroupID);
    $walletID = $groupMembers[0]->characterID;
    $characterID = Characters::Model()->findByPk($walletID)->characterID;
    $this->phdSetCache("characterIDCache", $characterID);
}
$invType = Invtypes::Model()->findByPk($typeID);
//Find the blueprint typeID
$bpTypeID = InvBlueprintTypes::Model()->find("productTypeID = :typeID", array(':typeID' => $invType->typeID));
//Load the skill sheet
$skillSheet = APICharacterSheet::load($characterID);
?>
<script type="text/javascript">
		jQuery(function($)
		{
			$('.bpcme').phdInlineInput({
				'label'		: 'Select',
				'getUrl' 	: 'capitalProduction/getbpcme',
				'submitUrl'	: 'capitalProduction/submitbpcme'
			});
			$('.pricesell').phdInlineInput({
				'label'		: 'Select',
				'getUrl' 	: 'capitalProduction/getpricesell',
				'submitUrl'	: 'capitalProduction/submitpricesell'
			});
			$('.pricebpc').phdInlineInput({