Various improvements to batch worksheets, index links etc.

This commit is contained in:
Lance Edgar 2017-08-01 14:42:32 -05:00
parent 00027b09f6
commit 0171f3ebba
7 changed files with 13 additions and 29 deletions

View file

@ -50,6 +50,7 @@ class OrderingBatchView(PurchasingBatchView):
url_prefix = '/ordering'
model_title = "Ordering Batch"
model_title_plural = "Ordering Batches"
index_title = "Ordering"
row_grid_columns = [
'sequence',
@ -144,8 +145,7 @@ class OrderingBatchView(PurchasingBatchView):
'batch': batch,
'instance': batch,
'instance_title': title,
'index_title': "{}: {}".format(self.get_model_title(), title),
'index_url': self.get_action_url('view', batch),
'instance_url': self.get_action_url('view', batch),
'vendor': batch.vendor,
'departments': departments,
'history': history,

View file

@ -88,6 +88,7 @@ class ReceivingBatchView(PurchasingBatchView):
url_prefix = '/receiving'
model_title = "Receiving Batch"
model_title_plural = "Receiving Batches"
index_title = "Receiving"
creatable = False
rows_deletable = False
mobile_creatable = True