[`In-stock assets`]
[`Stock count`]{if $sort == 'stock'} {/if} | [`Purchase worth`]{if $sort === 'purchase_worth'} {/if} | [`Net worth`]{if $sort == 'net_worth'}{/if} | [`Selling time`] | ||
---|---|---|---|---|---|
{if !shopUnits::stockUnitsEnabled()}{_w('%d item', '%d items', $total_stock)}{else}{$total_stock}{/if} | {wa_currency_html($purchase_worth, $def_cur)} | {wa_currency_html($net_worth, $def_cur)} | |||
{$wa->shop->getProductImgHtml($p, $size, ['height' => 48, 'width' => 48])} | {$p.name|escape} | {if $p.count > 5} {elseif $p.count > 2} {else} {/if} {$p.count} {if isset($p.count) && shopUnits::stockUnitsEnabled()}{$p.stock_unit|escape}{/if} | {wa_currency_html($p.purchase_worth, $def_cur)} | {wa_currency_html($p.net_worth, $def_cur)} | 0} title="{sprintf('[`Selling time is estimated based on the average monthly sales during last 90 days (%d items per month for this product).`]', $p.sold)}"{/if}> {if $p.est > 0} {_w('%d day', '%d days', $p.est)} {else if $p.sold > 0} {else} {/if} |
{_w('%d product', '%d products', count($products))}