Various tweaks to purchasing batch views

This commit is contained in:
Lance Edgar 2016-12-19 16:17:56 -06:00
parent 7a9780e2b8
commit 8afaf80128
3 changed files with 10 additions and 10 deletions

View file

@ -55,9 +55,9 @@
Order Date:&nbsp; <strong>${purchase.date_ordered}</strong> Order Date:&nbsp; <strong>${purchase.date_ordered}</strong>
</p> </p>
<p class="receiving-info"> <p class="receiving-info">
Received by (name):&nbsp; ____________________
<span class="spacer"></span>
Received on (date):&nbsp; ____________________ Received on (date):&nbsp; ____________________
<span class="spacer"></span>
Received by (name):&nbsp; ____________________
</p> </p>
<table> <table>

View file

@ -324,10 +324,10 @@ class PurchaseBatchView(BatchMasterView):
g.upc.set(label="UPC") g.upc.set(label="UPC")
g.brand_name.set(label="Brand") g.brand_name.set(label="Brand")
g.cases_ordered.set(label="Cases Ord.") g.cases_ordered.set(label="Cases Ord.", renderer=forms.renderers.QuantityFieldRenderer)
g.units_ordered.set(label="Units Ord.") g.units_ordered.set(label="Units Ord.", renderer=forms.renderers.QuantityFieldRenderer)
g.cases_received.set(label="Cases Rec.") g.cases_received.set(label="Cases Rec.", renderer=forms.renderers.QuantityFieldRenderer)
g.units_received.set(label="Units Rec.") g.units_received.set(label="Units Rec.", renderer=forms.renderers.QuantityFieldRenderer)
g.po_total.set(label="Total", renderer=forms.renderers.CurrencyFieldRenderer) g.po_total.set(label="Total", renderer=forms.renderers.CurrencyFieldRenderer)
g.invoice_total.set(label="Total", renderer=forms.renderers.CurrencyFieldRenderer) g.invoice_total.set(label="Total", renderer=forms.renderers.CurrencyFieldRenderer)
g.append(fa.Field('has_credits', type=fa.types.Boolean, label="Credits?", g.append(fa.Field('has_credits', type=fa.types.Boolean, label="Credits?",

View file

@ -193,10 +193,10 @@ class PurchaseView(MasterView):
g.sequence.set(label="Seq") g.sequence.set(label="Seq")
g.upc.set(label="UPC") g.upc.set(label="UPC")
g.brand_name.set(label="Brand") g.brand_name.set(label="Brand")
g.cases_ordered.set(label="Cases Ord.") g.cases_ordered.set(label="Cases Ord.", renderer=forms.renderers.QuantityFieldRenderer)
g.units_ordered.set(label="Units Ord.") g.units_ordered.set(label="Units Ord.", renderer=forms.renderers.QuantityFieldRenderer)
g.cases_received.set(label="Cases Rec.") g.cases_received.set(label="Cases Rec.", renderer=forms.renderers.QuantityFieldRenderer)
g.units_received.set(label="Units Rec.") g.units_received.set(label="Units Rec.", renderer=forms.renderers.QuantityFieldRenderer)
g.po_total.set(label="Total", renderer=forms.renderers.CurrencyFieldRenderer) g.po_total.set(label="Total", renderer=forms.renderers.CurrencyFieldRenderer)
g.invoice_total.set(label="Total", renderer=forms.renderers.CurrencyFieldRenderer) g.invoice_total.set(label="Total", renderer=forms.renderers.CurrencyFieldRenderer)