Refactor purchasing batch views per master4

This commit is contained in:
Lance Edgar 2018-02-05 12:59:34 -06:00
parent dfc5e0f50e
commit 8137d715df
6 changed files with 328 additions and 186 deletions

View file

@ -1,4 +1,4 @@
## -*- coding: utf-8 -*-
## -*- coding: utf-8; -*-
<html>
<head>
<title>Receiving Worksheet</title>
@ -76,7 +76,7 @@
<tbody>
% for item in purchase.items:
<tr>
<td>${item.upc.pretty()}</td>
<td>${item.upc.pretty() if item.upc else item.item_id}</td>
<td>${item.vendor_code or ''}</td>
<td>${(item.brand_name or '')[:15]}</td>
<td>${item.description or ''}</td>