~edwinvandeven/openstudio/2018.1

« back to all changes in this revision

Viewing changes to controllers/invoices.py

  • Committer: Edwin van de Ven
  • Date: 2018-03-06 13:20:22 UTC
  • Revision ID: edwinvandeven@home.nl-20180306132022-jkn7j2orr1f25341
Improved form for school_subscriptions
Improved comment on invoices/subscriptions_create_invoices

Show diffs side-by-side

added added

removed removed

Lines of Context:
1348
1348
@auth.requires(auth.has_membership(group_id='Admins') or \
1349
1349
               auth.has_permission('create', 'invoices'))
1350
1350
def subscriptions_create_invoices():
1351
 
    '''
 
1351
    """
1352
1352
        Create Invoices for all subscriptions in a selected month
1353
 
    '''
 
1353
    """
1354
1354
    year = int(request.vars['year'])
1355
1355
    month = int(request.vars['month'])
1356
1356
    description = request.vars['description']
1394
1394
              requires=IS_NOT_EMPTY(),
1395
1395
              label=T("Default invoice description"),
1396
1396
              ## tooltip
1397
 
              comment = os_gui.get_info_icon(
1398
 
                   title=T("When no alt. price is defined, use this description \
1399
 
                    for the invoice description."),
1400
 
                   btn_icon='info')),
 
1397
              comment = T("When no alt. price is defined, use this description \
 
1398
                    as the invoice description.")),
1401
1399
              submit_button = T('Create invoices'),
1402
1400
        formstyle='divs',
1403
1401
        _class='full-width')