Various tweaks to purchasing batch views
This commit is contained in:
parent
7a9780e2b8
commit
8afaf80128
|
@ -55,9 +55,9 @@
|
|||
Order Date: <strong>${purchase.date_ordered}</strong>
|
||||
</p>
|
||||
<p class="receiving-info">
|
||||
Received by (name): ____________________
|
||||
<span class="spacer"></span>
|
||||
Received on (date): ____________________
|
||||
<span class="spacer"></span>
|
||||
Received by (name): ____________________
|
||||
</p>
|
||||
|
||||
<table>
|
||||
|
|
|
@ -324,10 +324,10 @@ class PurchaseBatchView(BatchMasterView):
|
|||
|
||||
g.upc.set(label="UPC")
|
||||
g.brand_name.set(label="Brand")
|
||||
g.cases_ordered.set(label="Cases Ord.")
|
||||
g.units_ordered.set(label="Units Ord.")
|
||||
g.cases_received.set(label="Cases Rec.")
|
||||
g.units_received.set(label="Units Rec.")
|
||||
g.cases_ordered.set(label="Cases Ord.", renderer=forms.renderers.QuantityFieldRenderer)
|
||||
g.units_ordered.set(label="Units Ord.", renderer=forms.renderers.QuantityFieldRenderer)
|
||||
g.cases_received.set(label="Cases Rec.", renderer=forms.renderers.QuantityFieldRenderer)
|
||||
g.units_received.set(label="Units Rec.", renderer=forms.renderers.QuantityFieldRenderer)
|
||||
g.po_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?",
|
||||
|
|
|
@ -193,10 +193,10 @@ class PurchaseView(MasterView):
|
|||
g.sequence.set(label="Seq")
|
||||
g.upc.set(label="UPC")
|
||||
g.brand_name.set(label="Brand")
|
||||
g.cases_ordered.set(label="Cases Ord.")
|
||||
g.units_ordered.set(label="Units Ord.")
|
||||
g.cases_received.set(label="Cases Rec.")
|
||||
g.units_received.set(label="Units Rec.")
|
||||
g.cases_ordered.set(label="Cases Ord.", renderer=forms.renderers.QuantityFieldRenderer)
|
||||
g.units_ordered.set(label="Units Ord.", renderer=forms.renderers.QuantityFieldRenderer)
|
||||
g.cases_received.set(label="Cases Rec.", renderer=forms.renderers.QuantityFieldRenderer)
|
||||
g.units_received.set(label="Units Rec.", renderer=forms.renderers.QuantityFieldRenderer)
|
||||
g.po_total.set(label="Total", renderer=forms.renderers.CurrencyFieldRenderer)
|
||||
g.invoice_total.set(label="Total", renderer=forms.renderers.CurrencyFieldRenderer)
|
||||
|
||||
|
|
Loading…
Reference in a new issue