</td> <td class="enpRptLabel"> Out of Pocket </td> <td class="enpRptLabel"> Income </td> <td class="enpRptLabel"> Net </td> </tr>'); foreach ($auctions as $auction) { $lAuctionID = $auction->lKeyID; echoT(' <tr class="makeStripe"> <td class="enpRpt" style="text-align:left;">' . str_pad($lAuctionID, 5, '0', STR_PAD_LEFT) . ' ' . strLinkView_AuctionRecord($lAuctionID, 'View Auction Record', true) . '<br>' . strLinkView_AuctionOverview($lAuctionID, 'Overview', false) . ' </td> <td class="enpRpt">' . strLinkRem_Auction($lAuctionID, 'Remove Auction', true, true) . ' </td> <td class="enpRpt">' . htmlspecialchars($auction->strAuctionName) . ' </td> <td class="enpRpt" style="text-align:center;">' . date($genumDateFormat, $auction->dteAuction) . ' </td> <td class="enpRpt" style="text-align:center; padding-left: 7pt;">' . number_format($auction->lNumPackages) . ' ' . strLinkView_AuctionPackages($lAuctionID, 'View auction packages', true) . ' ' . strLinkAdd_AuctionPackage($lAuctionID, 'Add new package', true) . ' </td> <td class="enpRpt" style="text-align:center;">' . number_format($auction->lNumItems) . ' </td> <td class="enpRpt" style="text-align:right;">' . number_format($auction->curEstValue, 2) . ' ' . $auction->strFlagImg . ' </td> <td class="enpRpt" style="text-align:right;">' . number_format($auction->curOOP, 2) . ' </td>
public function strAuctionHTMLSummary() { //----------------------------------------------------------------------- // assumes user has called $cAuction->loadAuctionByAucID($lAuctionID); //----------------------------------------------------------------------- global $genumDateFormat; $params = array('enumStyle' => 'terse'); $clsRpt = new generic_rpt($params); $clsRpt->setEntrySummary(); $auction =& $this->auctions[0]; $lAuctionID = $auction->lKeyID; $strOut = $clsRpt->openReport('', '') . $clsRpt->openRow(false) . $clsRpt->writeLabel('Auction Name:') . $clsRpt->writeCell($auction->strSafeName) . $clsRpt->closeRow() . $clsRpt->openRow(false) . $clsRpt->writeLabel('Auction ID:') . $clsRpt->writeCell(str_pad($lAuctionID, 5, '0', STR_PAD_LEFT) . ' ' . strLinkView_AuctionRecord($lAuctionID, 'View auction record', true)) . $clsRpt->closeRow() . $clsRpt->writeLabel('Overview:') . $clsRpt->writeCell(strLinkView_AuctionOverview($lAuctionID, 'Overview', true)) . $clsRpt->closeRow() . $clsRpt->writeLabel('Packages:') . $clsRpt->writeCell(strLinkView_AuctionPackages($lAuctionID, 'View packages for this auction', true)) . $clsRpt->closeRow() . $clsRpt->openRow(false) . $clsRpt->writeLabel('Date:') . $clsRpt->writeCell(date($genumDateFormat, $auction->dteAuction)) . $clsRpt->closeRow() . $clsRpt->closeReport('<br>'); return $strOut; }
public function packageHTMLSummary() { //----------------------------------------------------------------------- // assumes user has called $cPackages->loadPackageByPacID($lPackageID); //----------------------------------------------------------------------- global $genumDateFormat; $params = array('enumStyle' => 'terse'); $clsRpt = new generic_rpt($params); $clsRpt->setEntrySummary(); $package =& $this->packages[0]; $lAuctionID = $package->lAuctionID; $lPackageID = $package->lKeyID; $strOut = $clsRpt->openReport('', '') . $clsRpt->openRow(false) . $clsRpt->writeLabel('Auction Name:') . $clsRpt->writeCell(htmlspecialchars($package->strAuctionName)) . $clsRpt->closeRow() . $clsRpt->openRow(false) . $clsRpt->writeLabel('Overview:') . $clsRpt->writeCell(strLinkView_AuctionOverview($lAuctionID, 'Auction overview', true)) . $clsRpt->closeRow() . $clsRpt->openRow(false) . $clsRpt->writeLabel('Auction ID:') . $clsRpt->writeCell(str_pad($lAuctionID, 5, '0', STR_PAD_LEFT) . ' ' . strLinkView_AuctionRecord($lAuctionID, 'View auction record', true)) . $clsRpt->closeRow() . $clsRpt->openRow(false) . $clsRpt->writeLabel('Package Name:') . $clsRpt->writeCell($package->strPackageSafeName) . $clsRpt->closeRow() . $clsRpt->openRow(false) . $clsRpt->writeLabel('Package ID:') . $clsRpt->writeCell(str_pad($lPackageID, 5, '0', STR_PAD_LEFT) . ' ' . strLinkView_AuctionPackageRecord($lPackageID, 'View auction package record', true)) . $clsRpt->closeRow(); if (is_null($package->lBidWinnerID)) { $strOut .= $clsRpt->openRow(false) . $clsRpt->writeLabel('Bid Winner:') . $clsRpt->writeCell('<i>Not set</i>') . $clsRpt->closeRow(); } else { if ($package->bw_bBiz) { $strLink = strLinkView_BizRecord($package->lBidWinnerID, 'View business record', true); } else { $strLink = strLinkView_PeopleRecord($package->lBidWinnerID, 'View people record', true); } $strOut .= $clsRpt->openRow(false) . $clsRpt->writeLabel('Bid Winner:') . $clsRpt->writeCell($package->bw_strSafeName . ' ' . $strLink) . $clsRpt->closeRow(); } $strOut .= $clsRpt->closeReport('<br>'); return $strOut; }