[% WRAPPER "ui-header.html" stylesheet="ledgersmb.css" include_stylesheet=["system/setup.css"] %] [% PROCESS elements.html %]

## [% text('Database Management Console') %]

[% INCLUDE 'setup/ui-db-credentials.html' %]
[% text('Database Operation Complete') %]

[% text('This database operation has completed successfully. LedgerSMB may now be used.'); %]

[% text('Check database consistency') %]

[% text('Return to setup') %]

[% text('Start using LedgerSMB') %]

[% IF run_id %]

[% text('Upgrade run log') %]
[% text('Time') %] | [% text('Script path') %] | [% text('Attention or Action required') %]
--- | --- | ---
[% UNLESS run_info %]
[% text('No schema upgrade scripts run') %]
[% END %] [% FOREACH run_item IN run_info %]
[% run_item.last_updated %] | [% run_item.path %] | [% IF run_item.messages; FOREACH msg IN run_item.messages ; NEXT IF msg.type != 'feedback'; msg.content.replace('\n\n', ' '); ' '; END ; END %]
[% END %]

[% END %] [% IF lsmb_info %]

[% text('LedgerSMB Database Statistics') %]
[% text('Row counts') %]
[% text('AP') %] | [% lsmb_info.ap %]
[% text('AR') %] | [% lsmb_info.ar %]
[% text('Customer/Vendor Accounts') %] | [% lsmb_info.entity_credit_account %]
[% text('GL') %] | [% lsmb_info.gl %]
[% text('Invoice Lines') %] | [% lsmb_info.invoice %]
[% text('Journal Lines') %] | [% lsmb_info.acc_trans %]
[% text('Orders') %] | [% lsmb_info.oe %]
[% text('Order Lines') %] | [% lsmb_info.orderitems %]
[% text('Parts') %] | [% lsmb_info.parts %]
[% text('Users') %] | [% lsmb_info.users %]

[% END %]
[% END %]