cirandas.net

ref: master

plugins/orders/views/orders_plugin_admin/_purchases.html.slim


- month ||= nil
- year ||= nil
- owner_id ||= nil
- wireframe_size = true if wireframe_size.nil?

= render 'orders_plugin_admin/load'
= render 'orders_plugin_admin/filter', actor_name: :consumer, actors: actors, orders_method: :purchases, orders_owner: orders_owner, owner_id: owner_id, year: year, month: month, wireframe_size: wireframe_size
= render 'orders_plugin_admin/actions', wireframe_size: wireframe_size, orders_method: :purchases

#purchases-table
  = render 'orders_plugin_admin/table', actor_name: :consumer, orders: orders, wireframe_size: wireframe_size