findDependentRowset('\Ppb\Db\Table\SalesListings'); /** @var \Ppb\Db\Table\Row\User $buyer */ $buyer = $sale->findParentRow('\Ppb\Db\Table\Users', 'Buyer'); $postageDesc = (isset($postageDesc)) ? $postageDesc : false; $directPaymentButton = (isset($directPaymentButton)) ? $directPaymentButton : false; $type = (isset($type)) ? $type : ''; $inAdmin = (isset($inAdmin)) ? $inAdmin : false; $caption = (isset($caption)) ? $caption : false; $displayDownloads = (isset($displayDownloads)) ? $displayDownloads : false; $invoice = (isset($invoice)) ? $invoice : false; /** @var \Ppb\Db\Table\Row\User $seller */ if ($type != 'sold') { $seller = $sale->findParentRow('\Ppb\Db\Table\Users', 'Seller'); } $insuranceAmount = $sale->getInsuranceAmount(); $taxAmount = $sale->getTaxAmount(); $rowspan = 1; if ($insuranceAmount) { $rowspan++; } if ($taxAmount) { $rowspan++; } ?> findParentRow('\Ppb\Db\Table\Listings'); ?> getDigitalDownloads()) !== false && $displayDownloads === true) { ?> hasPostage()) { ?>
isActive()) ? '' : ' ' . 'disabled'); ?>
_('View & Print Invoice'); ?> messagingEnabled()) { ?> _('Message Board'); ?> settings['enable_reputation']) { if (!empty($this->loggedInUser['id'])) { $reputationLink = $sale->reputationLink($this->loggedInUser['id']); if ($reputationLink) { ?> _('Leave Feedback'); ?>
_('Invoice #'); ?> _('from'); ?> date(max(array($sale['created_at'], $sale['updated_at'])), true); ?> - _('Seller'); ?>: userDetails()->setUser($seller)->display(); ?> _('Buyer'); ?>: userDetails()->setUser($buyer)->display(); ?>
saleOptions($sale); ?>
_('Listing'); ?> _('Quantity'); ?> _('Price'); ?> _('Subtotal'); ?>
(#)
productAttributes($saleListing['product_attributes'])->display(); ?>
_('Listing Deleted'); ?>
amount($saleListing->price(), $sale['currency']); ?> amount(($saleListing->price() * $saleListing['quantity']), $sale['currency']); ?>
isBuyer()) { ?>

_('Download Active'); ?> _('Download Inactive'); ?> · _('Downloaded %s times'), intval($digitalDownload['nb_downloads'])); ?> · _('Added on %s'), $this->date($digitalDownload['created_at'], true)); ?>
isSeller()) { ?> getData('downloads_active')) { ?> _('Inactivate Downloads'); ?> _('Activate Downloads'); ?>
getPostageMethod(); ?> _('Postage Method:'); ?> _($postageMethod); ?> isActive()) { ?> _('Track this package'); ?> userDetails()->setUser($buyer); if ($postageMethod != \Ppb\Model\Shipping::VALUE_PICK_UP) { $this->userDetails()->setAddress($sale['shipping_address_id']); ?>
_('Delivery Address:'); ?> userDetails()->displayFullName() . ', '; ?> userDetails()->displayAddress(', '); ?>
_('Name:'); ?> userDetails()->displayFullName(); ?>
_('Email:'); ?>
settings['sale_phone_numbers']) { ?>
_('Phone:'); ?>
_('Comments:'); ?>
_('Postage'); ?> amount($sale['postage_amount'], $sale['currency'], null, true); ?>
_('Insurance'); ?> amount($insuranceAmount, $sale['currency'], null, true); ?>
_('Tax'); ?> amount($taxAmount, $sale['currency'], null, true); ?>
isActive(false)) { ?> canPayFee() && $directPaymentButton) { ?> _('Make Sale Transaction Fee Payment'); ?> _('Sale Transaction Fee Not Paid'); ?> _('Seller Deleted'); ?> _('Buyer Deleted'); ?> canPayDirectPayment() !== false && $directPaymentButton) { ?> _('Make Payment'); ?>
_('The sale will be cancelled if not paid until %s'), $this->date($sale['expires_at'])); ?>
_('Total'); ?> amount($sale->calculateTotal(), $sale['currency']); ?>