function showAuctionInfo(&$clsRpt, &$auction, $lAuctionID) { //--------------------------------------------------------------------- // //--------------------------------------------------------------------- global $genumDateFormat; $attributes = new stdClass(); $attributes->lUnderscoreWidth = 600; openBlock('Silent Auction Overview: <b>' . htmlspecialchars($auction->strAuctionName) . '</b>', strLinkView_AuctionRecord($lAuctionID, 'View auction record', true) . ' ' . strLinkEdit_Auction($lAuctionID, 'Edit auction information', true) . ' ' . strLinkRem_Auction($lAuctionID, 'Remove this auction record', true, true), $attributes); echoT($clsRpt->openReport()); echoT($clsRpt->openRow() . $clsRpt->writeLabel('Auction ID:') . $clsRpt->writeCell(str_pad($lAuctionID, 5, '0', STR_PAD_LEFT)) . $clsRpt->closeRow() . $clsRpt->openRow() . $clsRpt->writeLabel('Name:') . $clsRpt->writeCell(htmlspecialchars($auction->strAuctionName)) . $clsRpt->closeRow()); echoT($clsRpt->openRow() . $clsRpt->writeLabel('Date of Auction:') . $clsRpt->writeCell(date($genumDateFormat, $auction->dteAuction)) . $clsRpt->closeRow()); echoT($clsRpt->openRow() . $clsRpt->writeLabel('Contact:') . $clsRpt->writeCell(htmlspecialchars($auction->strContact)) . $clsRpt->closeRow() . $clsRpt->openRow() . $clsRpt->writeLabel('Email:') . $clsRpt->writeCell(htmlspecialchars($auction->strEmail)) . $clsRpt->closeRow()); echoT($clsRpt->openRow() . $clsRpt->writeLabel('Phone:') . $clsRpt->writeCell(htmlspecialchars($auction->strPhone)) . $clsRpt->closeRow() . $clsRpt->openRow() . $clsRpt->writeLabel('Location:') . $clsRpt->writeCell(htmlspecialchars($auction->strLocation)) . $clsRpt->closeRow()); echoT($clsRpt->openRow() . $clsRpt->writeLabel('Account/Campaign:') . $clsRpt->writeCell(htmlspecialchars($auction->strAccount . ' / ' . $auction->strCampaign)) . $clsRpt->closeRow()); // Accounting Country echoT($clsRpt->openRow() . $clsRpt->writeLabel('Accounting Country:') . $clsRpt->writeCell($auction->strFlagImg . ' ' . $auction->strCurrencySymbol) . $clsRpt->closeRow()); // description echoT($clsRpt->openRow() . $clsRpt->writeLabel('Description:') . $clsRpt->writeCell(nl2br(htmlspecialchars($auction->strDescription))) . $clsRpt->closeRow()); // default bidsheet if (is_null($auction->lBidsheetID)) { echoT($clsRpt->openRow() . $clsRpt->writeLabel('Default Bid Sheet:') . $clsRpt->writeCell('<i>Not set!</i> Click ' . strLinkView_BidSheets('here', false) . ' to work with bid sheet templates.') . $clsRpt->closeRow()); } else { echoT($clsRpt->openRow() . $clsRpt->writeLabel('Default Bid Sheet:') . $clsRpt->writeCell(htmlspecialchars($auction->strSheetName) . ' ' . strLinkView_BidSheetRecord($auction->lDefaultBidSheet, 'View bid sheet', true) . ' (based on template "' . $auction->tInfo->title . '")') . $clsRpt->closeRow()); } echoT($clsRpt->closeReport()); closeBlock(); }
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> <td class="enpRpt" style="text-align:right;">' . number_format($auction->curIncome, 2) . ' </td>