Refactored model imports, etc.
This is in preparation for using database models only from `rattail` (i.e. no `edbob`). Mostly the model and enum imports were affected.
This commit is contained in:
parent
d838203ec7
commit
1a557f3947
6 changed files with 42 additions and 43 deletions
|
@ -110,7 +110,7 @@
|
|||
<td class="brand">${cost.product.brand or ''}</td>
|
||||
<td class="desc">${cost.product.description}</td>
|
||||
<td class="size">${cost.product.size or ''}</td>
|
||||
<td class="case-qty">${cost.case_size} ${rattail.UNIT_OF_MEASURE.get(cost.product.unit_of_measure, '')}</td>
|
||||
<td class="case-qty">${cost.case_size} ${rattail.enum.UNIT_OF_MEASURE.get(cost.product.unit_of_measure, '')}</td>
|
||||
<td class="code">${cost.code or ''}</td>
|
||||
<td class="preferred">${'X' if cost.preference == 1 else ''}</td>
|
||||
% for i in range(14):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue