url( r'^update-date/pl/?', UpdateModelDate.as_view( model=IbdInt, admin_redirect_url="/admin/ibdint/ibdint/", model_date_field='valdate_in_pl', form_action_url_name='update_date_paid_into_pl', label='Enter Date Paid into P/L', admin_href_text='Return to IBD Int Admin', title='Update Date Interests Paid Into P/L', headers=( 'LC Number', 'Customer Name', 'Currency', 'Amount', 'Date Processed', 'Value Date In C/A', ), attributes=( 'lc_number', 'customer', 'currency', 'amount', 'date_processed', 'valdate_in_ca', ) ), name='update_date_paid_into_pl' ),
urlpatterns = patterns( '', url( r'^update-date/avail-date/?', UpdateModelDate.as_view( model=LcAvailed, admin_redirect_url="/admin/lcavail/lcavailed/", model_date_field="avail_date", form_action_url_name='update_avail_date', label='Enter date Availed:', admin_href_text="Back to LC Availment Admin", headers=('LC Number', 'CCY', 'AMOUNT', 'BANK', 'ACCOUNT', 'DATE PROCESSED',), title='Update Date LC Availed', attributes=( 'lc_number', 'currency', 'drawing', 'swift_bic', 'acct_numb', 'date_processed', ) ), name='update_avail_date' ), ) # LCCoverMovement
'', url(r'^print/(?P<reqtype>\w+)/$', PrintChgsView.as_view(), name='printchgs'), url( r'^update-tkt-mvd-date/$', UpdateModelDate.as_view( model=Charge, admin_redirect_url=CHG_ADMIN_URL, model_date_field='tkt_mvd_date', form_action_url_name='update_date_tkt_mvd', label='Enter Date Ticket Moved', admin_href_text='Return to Charges', title='Update Date Ticket Moved To Trops', headers=( 'LC Number', 'Customer Name', 'Currency', 'Amount', 'Date Processed', 'Date of Ticket Request From Dealers',), attributes=( 'lc_number', 'customer', 'currency', 'amountformated', 'date_processed', 'tkt_req_date',) ), name='update_date_tkt_mvd' ), url( r'^update-tkt-reqd-date/$', UpdateModelDate.as_view( model=Charge,
url('^process-postings/$', PostingView.as_view(), name='process-for-posting'), url( r'^update-post-date/?', UpdateModelDate.as_view( model=EntryContra, admin_redirect_url='/admin/%s' % str( EntryContra._meta).replace('.', '/'), model_date_field='date_posted', form_action_url_name='update-post-date', label='Enter Posting Date', admin_href_text='Return to Entries', title='Update Posting Date', headers=( 'Account Number', 'Amount', 'DR/CR', 'ENTRY CODE', 'NARRATION', 'REFERENCE', 'TIME CREATED',), attributes=( 'account', 'amt_fmt', 'dr_cr', 'entry_code', 'narration', 'ref', 'time_created', ), ), name='update-post-date', ), url(r'^update-post-status/$', 'postentry.views.ajax_update_post_status', name='update-post-status') )