Sha256: 33178f8f0dec1119b6c60e3bff2a47232b5815509d68f10bc5a7b99ca33b4945

Contents?: true

Size: 839 Bytes

Versions: 5

Compression:

Stored size: 839 Bytes

Contents

%h2.effective-qb-sync-page-title= (@page_title || 'Quickbooks Synchronizations')

%p.text-right.effective-qb-sync-page-action
  = link_to 'Quickbooks Setup Instructions', effective_qb_sync.instructions_admin_qb_syncs_path, class: 'btn btn-primary'

%hr
- unsynced = Effective::QbRequest.new_requests_for_unsynced_items.length

- if unsynced == 0
  %p All orders have been synchronized with Quickbooks.
- elsif unsynced == 1
  %p There is 1 order ready to be synchronized with Quickbooks.
- else
  %p There are #{unsynced} orders ready to be synchronized with Quickbooks.

%hr

- if @datatable.nil?
  %p Please install #{link_to 'effective_datatables', 'https://github.com/code-and-effect/effective_datatables'} to see this page.
- elsif @datatable.present?
  = render_datatable @datatable
- else
  %p There are no Quickbook Syncs present

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
effective_qb_sync-1.0.4 app/views/admin/qb_syncs/index.html.haml
effective_qb_sync-1.0.3 app/views/admin/qb_syncs/index.html.haml
effective_qb_sync-1.0.2 app/views/admin/qb_syncs/index.html.haml
effective_qb_sync-1.0.1 app/views/admin/qb_syncs/index.html.haml
effective_qb_sync-1.0.0 app/views/admin/qb_syncs/index.html.haml