Expose notes field for purchasing batches
Plus various other tweaks for styles and coding conventions etc.
This commit is contained in:
parent
59799302bd
commit
555935c71e
5 changed files with 16 additions and 13 deletions
|
@ -1,13 +1,8 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
<%inherit file="/newbatch/view.mako" />
|
||||
|
||||
<%def name="extra_styles()">
|
||||
${parent.extra_styles()}
|
||||
${h.stylesheet_link(request.static_url('tailbone:static/css/purchases.css'))}
|
||||
</%def>
|
||||
|
||||
<%def name="head_tags()">
|
||||
${parent.head_tags()}
|
||||
<%def name="extra_javascript()">
|
||||
${parent.extra_javascript()}
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
|
||||
|
@ -32,6 +27,11 @@
|
|||
</script>
|
||||
</%def>
|
||||
|
||||
<%def name="extra_styles()">
|
||||
${parent.extra_styles()}
|
||||
${h.stylesheet_link(request.static_url('tailbone:static/css/purchases.css'))}
|
||||
</%def>
|
||||
|
||||
<%def name="leading_buttons()">
|
||||
% if batch.mode == enum.PURCHASE_BATCH_MODE_ORDERING and not batch.complete and not batch.executed and request.has_perm('purchases.batch.order_form'):
|
||||
<button type="button" id="order-form">Ordering Form</button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue