vyapari 0.1.5dev6 → 0.1.5dev7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 77082c9dd19cd963d7c96b8b4a43133743571513
4
- data.tar.gz: 963cb3c4cb2a9bc7d43adb6e2afc4d5acfab8d39
3
+ metadata.gz: 7f9bdd187c40ecef46dce3e59a138186068e3d2a
4
+ data.tar.gz: b64bcb290c080bb84cbb20a642630c98150786e2
5
5
  SHA512:
6
- metadata.gz: b41a5d12cc1a633fc218b7522d14f3842db6c33cd20af5be8bb59b7ea3e488e937b14e65aa1147b13101cf693f27f78f67e04f2f3016fa9dc2a90ea354c8c6d5
7
- data.tar.gz: 3ed2aed1a6ce119c1fbd3915d5baec5d194da97321c2b5758e6ea368aeaff4e8ff66c47563ed046db6f900da495d12af6cb829b3567b6bb664d58991525ba227
6
+ metadata.gz: f9e36ac86471ca56737302ccc19ba1505f734d2072a9bd62d7011e5e603f4a93a1ddef1f24417a43169a3718a45c065b914e6345ba22c29f1c27b4f4e1a67cee
7
+ data.tar.gz: b64a93bda9422a4bccb9844a8fb4de7f4cb5aa6485d4c039c1a129498ee47824e96e1592516ec4de93f2b90270435508446af37233583216eb05cba095625c25
@@ -19,9 +19,18 @@ module Vyapari
19
19
 
20
20
  def configure_filter_param_mapping
21
21
  @filter_param_mapping = default_filter_param_mapping
22
- @filter_param_mapping[:terminal] = :tm
22
+
23
+ # Variable Filters
23
24
  @filter_param_mapping[:store] = :st
25
+ @filter_param_mapping[:terminal] = :tm
26
+
27
+ # Second variable for mapping reference filters
28
+ @filter_param_mapping[:fstore] = :fst
29
+ @filter_param_mapping[:fterminal] = :ftm
30
+
24
31
  @filter_param_mapping[:supplier] = :sp
32
+ @filter_param_mapping[:user] = :us
33
+ @filter_param_mapping[:payment_method] = :pm
25
34
  end
26
35
 
27
36
  end
@@ -6,6 +6,11 @@ module Vyapari
6
6
  def index
7
7
  end
8
8
 
9
+ def search
10
+ @query = params[:query]
11
+ @products = Product.search(@query).page(@current_page).per(50)
12
+ end
13
+
9
14
  private
10
15
 
11
16
  def breadcrumbs_configuration
@@ -85,9 +85,7 @@ module Vyapari
85
85
  heading: "Invoices - #{@terminal.name}",
86
86
  description: "Listing the invoices - #{@terminal.name}",
87
87
  links: [
88
- {name: "Home", link: user_dashboard_path, icon: 'fa-dashboard'},
89
- {name: @store.name, link: store_manager_dashboard_path(@store), icon: 'fa-dashboard'},
90
- {name: "Stock Entries", link: nil, icon: 'fa-truck', active: true},
88
+ {name: "Change Terminal", link: store_manager_dashboard_path(@store), icon: 'fa-cog'},
91
89
  {name: @terminal.name, link: terminal_staff_dashboard_path(@terminal), icon: 'fa-desktop'},
92
90
  {name: "Invoices", link: nil, icon: 'fa-file', active: true}
93
91
  ]
@@ -107,12 +105,26 @@ module Vyapari
107
105
 
108
106
  def apply_filters
109
107
  @relation = @relation.search(@query) if @query
108
+ @relation = @relation.status(@status) if @status
109
+ @relation = @relation.payment_method(@payment_method) if @payment_method
110
110
 
111
- # if @terminal == "null"
112
- # @relation = @relation.where("invoices.terminal_id IS NULL")
113
- # elsif @terminal
114
- # @relation = @relation.where("invoices.terminal_id = ?", @terminal.id)
115
- # end
111
+ if @terminal == "null"
112
+ @relation = @relation.where("invoices.terminal_id IS NULL")
113
+ elsif @terminal
114
+ @relation = @relation.where("invoices.terminal_id = ?", @terminal.id)
115
+ end
116
+
117
+ if @store == "null"
118
+ @relation = @relation.where("invoices.store_id IS NULL")
119
+ elsif @store
120
+ @relation = @relation.where("invoices.store_id = ?", @terminal.id)
121
+ end
122
+
123
+ if @user == "null"
124
+ @relation = @relation.where("invoices.user_id IS NULL")
125
+ elsif @user
126
+ @relation = @relation.where("invoices.user_id = ?", @terminal.id)
127
+ end
116
128
 
117
129
  @order_by = "created_at desc" unless @order_by
118
130
  @relation = @relation.order(@order_by)
@@ -121,13 +133,20 @@ module Vyapari
121
133
  def configure_filter_settings
122
134
  @filter_settings = {
123
135
  string_filters: [
124
- { filter_name: :query }
136
+ { filter_name: :query },
137
+ { filter_name: :status },
138
+ { filter_name: :payment_method }
125
139
  ],
126
140
  boolean_filters: [],
127
141
  reference_filters: [
128
- { filter_name: :terminal, filter_class: Terminal },
142
+ { filter_name: :user, filter_class: User },
143
+ { filter_name: :fstore, filter_class: Store },
144
+ { filter_name: :fterminal, filter_class: Terminal }
129
145
  ],
130
- variable_filters: [],
146
+ variable_filters: [
147
+ #{ variable_name: :store, filter_name: :store },
148
+ #{ variable_name: :terminal, filter_name: :terminal }
149
+ ]
131
150
  }
132
151
  end
133
152
 
@@ -54,6 +54,8 @@ class Invoice < Vyapari::ApplicationRecord
54
54
  scope :credit_card_invoices, -> { where(payment_method: CREDIT_CARD) }
55
55
  scope :cheque_invoices, -> { where(payment_method: CHEQUE) }
56
56
 
57
+ scope :payment_method, lambda { |pm| where("LOWER(payment_method)='#{payment_method}'") }
58
+
57
59
  scope :this_month, lambda { where("created_at >= ? AND created_at <= ?", Time.zone.now.beginning_of_month, Time.zone.now.end_of_month) }
58
60
  scope :today, lambda { where('DATE(created_at) = ?', Date.today)}
59
61
 
@@ -34,13 +34,14 @@ class Product < Vyapari::ApplicationRecord
34
34
  # == Examples
35
35
  # >>> object.search(query)
36
36
  # => ActiveRecord::Relation object
37
- scope :search, lambda {|query| joins("INNER JOIN categories on categories.id = products.category_id").
38
- where("LOWER(products.name) LIKE LOWER('%#{query}%') OR\
37
+ scope :search, lambda {|query| joins("LEFT JOIN categories on categories.id = products.category_id").
38
+ where("LOWER(products.ean_sku) LIKE LOWER('%#{query}%') OR\
39
+ LOWER(products.reference_number) LIKE LOWER('%#{query}%') OR\
40
+ LOWER(products.name) LIKE LOWER('%#{query}%') OR\
39
41
  LOWER(products.one_liner) LIKE LOWER('%#{query}%') OR\
40
42
  LOWER(products.description) LIKE LOWER('%#{query}%') OR\
41
43
  LOWER(categories.name) LIKE LOWER('%#{query}%') OR\
42
- LOWER(categories.one_liner) LIKE LOWER('%#{query}%') OR\
43
- LOWER(categories.description) LIKE LOWER('%#{query}%')")
44
+ LOWER(categories.one_liner) LIKE LOWER('%#{query}%')")
44
45
  }
45
46
 
46
47
  scope :status, lambda { |status| where("LOWER(status)='#{status}'") }
@@ -1,41 +1,44 @@
1
- <%
2
- active_invoices = @terminal.invoices.active.count
3
- draft_invoices = @terminal.invoices.draft.count
4
- active_amount = @terminal.invoices.active.sum(:net_total_amount)
5
- draft_amount = @terminal.invoices.draft.sum(:net_total_amount)
6
- cash_invoices = @terminal.invoices.active.where(payment_method: :cash).count
7
- credit_card_invoices = @terminal.invoices.active.where(payment_method: :credit_card).count
8
- cash_in_hand = @terminal.invoices.active.cash_invoices.sum(:net_total_amount)
9
- credit_card_amount = @terminal.invoices.active.credit_card_invoices.sum(:net_total_amount)
10
- total_sales = 100
1
+ <%
2
+
3
+ total_invoice_amount = @terminal.invoices.today.active.sum(:net_total_amount)
4
+
5
+ total_invoices = @terminal.invoices.today.active.count
6
+
7
+ total_cash = @terminal.invoices.today.active.cash_invoices.sum(:net_total_amount)
8
+
9
+ total_cash_invoices = @terminal.invoices.today.active.where(payment_method: :cash).count
10
+
11
+ total_credit = @terminal.invoices.today.active.credit_card_invoices.sum(:net_total_amount)
12
+
13
+ total_credit_card_invoices = @terminal.invoices.today.active.where(payment_method: :credit_card).count
14
+
11
15
  %>
12
16
 
13
17
  <div class="row">
14
18
  <div class="col-sm-3">
15
- <%= link_to raw("<i class=\"fa-book mr-10\"></i> Create Invoice"), new_terminal_staff_invoice_path(@terminal), remote: true, class: "btn btn-success btn-lg btn-block", style: "height:50px" %>
19
+ <%= link_to raw("<i class=\"fa-book mr-10\"></i> Create Invoice"), new_terminal_staff_invoice_path(@terminal), remote: true, class: "btn btn-success btn-lg btn-block hidden-xs", style: "height:50px" %>
16
20
 
17
- <%= link_to raw("<i class=\"fa-book mr-10\"></i> Manage Invoice"), terminal_staff_invoices_path(@terminal), class: "btn btn-primary btn-only-hover btn-lg btn-block", style: "height:50px" %>
21
+ <%= link_to raw("<i class=\"fa-book mr-10\"></i> Manage Invoices"), terminal_staff_invoices_path(@terminal), class: "btn btn-primary btn-only-hover btn-lg btn-block", style: "height:50px", target: "_blank" %>
18
22
  </div>
19
23
 
20
24
  <div class="col-sm-3">
21
25
 
22
- <div class="xe-widget xe-counter-block xe-counter-block-white" data-suffix="k" data-count=".num" data-from="0" data-to="310" data-duration="4" data-easing="false">
26
+ <div class="xe-widget xe-counter-block xe-counter-block-green" data-suffix="k" data-count=".num" data-from="0" data-to="310" data-duration="4" data-easing="false">
23
27
  <div class="xe-upper">
24
28
 
25
29
  <div class="xe-icon">
26
- <i class="fa-money"></i>
30
+ <i class="fa-usd"></i>
27
31
  </div>
28
32
  <div class="xe-label">
29
- <strong class="num"><%= number_to_currency cash_in_hand, unit: "AED " %></strong>
30
- <span>Cash In Hand</span>
33
+ <strong class="num"><%= number_to_currency total_invoice_amount, unit: "AED " %></strong>
34
+ <span>Total Invoice Amount</span>
31
35
  </div>
32
36
 
33
37
  </div>
34
38
  <div class="xe-lower">
35
39
  <div class="border"></div>
36
40
 
37
- <span>Total Cash Invoices</span>
38
- <strong><%= cash_invoices %></strong>
41
+ <span>Total Invoices: <b><%= total_invoices %></b></span>
39
42
  </div>
40
43
  </div>
41
44
  </div>
@@ -46,45 +49,40 @@
46
49
  <div class="xe-upper">
47
50
 
48
51
  <div class="xe-icon">
49
- <i class="fa-floppy-o"></i>
52
+ <i class="fa-money"></i>
50
53
  </div>
51
54
  <div class="xe-label">
52
- <strong class="num"><%= number_to_currency credit_card_amount, unit: "AED " %></strong>
53
- <span>Total CC AMount</span>
55
+ <strong class="num"><%= number_to_currency total_cash, unit: "AED " %></strong>
56
+ <span>Total Cash</span>
54
57
  </div>
55
58
 
56
59
  </div>
57
60
  <div class="xe-lower">
58
61
  <div class="border"></div>
59
62
 
60
- <!-- <span>Total Amount Billed Today</span> -->
61
- <!-- <strong><%#= number_to_currency active_amount, unit: "AED " %></strong> -->
63
+ <span>Total Cash Invoices: <b><%= total_cash_invoices %></b></span>
64
+
62
65
  </div>
63
66
  </div>
64
67
  </div>
65
68
 
66
69
  <div class="col-sm-3">
67
70
 
68
- <div class="xe-widget xe-counter-block xe-counter-block-gray" data-suffix="k" data-count=".num" data-from="0" data-to="310" data-duration="4" data-easing="false">
71
+ <div class="xe-widget xe-counter-block xe-counter-block-white" data-suffix="k" data-count=".num" data-from="0" data-to="310" data-duration="4" data-easing="false">
69
72
  <div class="xe-upper">
70
73
 
71
74
  <div class="xe-icon">
72
- <i class="fa-pencil-square-o"></i>
75
+ <i class="fa-credit-card"></i>
73
76
  </div>
74
77
  <div class="xe-label">
75
- <strong class="num"><%= draft_invoices %></strong>
76
- <span>Draft Invoices</span>
78
+ <strong class="num"><%= number_to_currency total_credit, unit: "AED " %></strong>
79
+ <span>Total CC Amount</span>
77
80
  </div>
78
-
79
81
  </div>
80
82
  <div class="xe-lower">
81
83
  <div class="border"></div>
82
-
83
- <span>Total Amount Un-Billed</span>
84
- <strong><%= number_to_currency draft_amount, unit: "AED " %></strong>
84
+ <span>Total Credit Card Invoices: <b><%= total_credit_card_invoices %></b></span>
85
85
  </div>
86
86
  </div>
87
87
  </div>
88
-
89
-
90
88
  </div>
@@ -3,7 +3,7 @@
3
3
  <thead>
4
4
  <tr>
5
5
  <th>Invoice Number</th>
6
- <th>Customer</th>
6
+ <th>Payment Method</th>
7
7
  <!-- <th>Date</th> -->
8
8
  <th style="text-align: right;">Total Amount</th>
9
9
  </tr>
@@ -18,15 +18,17 @@
18
18
 
19
19
  <% if invoice.draft? %>
20
20
  <td class="invoice-name"><%= link_to invoice.invoice_number, edit_terminal_staff_invoice_path(@terminal, invoice), remote: true %></td>
21
- <td class="invoice-name"><%= link_to customer_name, edit_terminal_staff_invoice_path(@terminal, invoice), remote: true %></td>
21
+ <!-- <td class="invoice-name"><%#= link_to customer_name, edit_terminal_staff_invoice_path(@terminal, invoice), remote: true %></td> -->
22
22
  <% else %>
23
23
  <td class="invoice-name"><%= link_to invoice.invoice_number, terminal_staff_invoice_path(@terminal, invoice), remote: true %></td>
24
- <td class="invoice-name"><%= link_to customer_name, terminal_staff_invoice_path(@terminal, invoice), remote: true %></td>
24
+ <!-- <td class="invoice-name"><%#= link_to customer_name, terminal_staff_invoice_path(@terminal, invoice), remote: true %></td> -->
25
25
  <% end %>
26
26
 
27
+ <td class="invoice-name" style="text-align: center;"><%= invoice.display_payment_method %></td>
28
+
27
29
  <!-- <td class="invoice-name" style="text-align: center;"><%#= invoice.invoice_date.strftime("%m/%d/%Y") if invoice.invoice_date %></td> -->
28
30
 
29
- <td class="invoice-name" style="text-align: center;"><%= number_to_currency invoice.net_total_amount, unit: "" %></td>
31
+ <td class="invoice-name" style="text-align: center;"><%= number_to_currency invoice.net_total_amount, unit: "AED " %></td>
30
32
 
31
33
  </tr>
32
34
  <% end %>
@@ -0,0 +1,6 @@
1
+ <form method="get" action="/terminal_staff/<%= @terminal.id %>/search" enctype="application/x-www-form-urlencoded" data-remote="true">
2
+ <input type="text" class="form-control input-lg" placeholder="Search..." name="query">
3
+ <button type="submit" class="btn-unstyled">
4
+ <i class="linecons-search"></i>
5
+ </button>
6
+ </form>
@@ -0,0 +1,24 @@
1
+ <div class="table-responsive">
2
+ <table class="table table-hover members-table middle-align">
3
+ <thead>
4
+ <tr>
5
+ <th style="text-align: left;width:30%;">EAN / SKU</th>
6
+ <th style="text-align: left;width:50%;">Name</th>
7
+ <th style="text-align: right;width:20%;;">Price</th>
8
+ </tr>
9
+ </thead>
10
+
11
+ <tbody>
12
+ <% @products.each_with_index do |product, i| %>
13
+
14
+ <tr id="tr_product_<%= product.id %>">
15
+ <td class="product-name"><%= product.ean_sku %></td>
16
+ <td class="product-name"><%= product.name %></td>
17
+ <td style="text-align: right;"><strong><%= number_to_currency product.retail_price, unit: "AED " %></strong></td>
18
+ </td>
19
+ </tr>
20
+
21
+ <% end %>
22
+ </tbody>
23
+ </table>
24
+ </div>
@@ -1,6 +1,10 @@
1
- <%= render :partial=>"vyapari/terminal_staff/dashboard/counts" -%>
2
1
 
3
- <div class="row">
2
+ <div id="div_terminal_dashboard_counts">
3
+ <%= render :partial=>"vyapari/terminal_staff/dashboard/counts" -%>
4
+ </div>
5
+
6
+
7
+ <div class="row hidden-xs">
4
8
  <div class="col-md-6">
5
9
  <div class="panel panel-color panel-gray">
6
10
 
@@ -14,9 +18,7 @@
14
18
  <%= render :partial=>"vyapari/terminal_staff/dashboard/invoices", locals: { invoices: active_invoices } -%>
15
19
  </div>
16
20
  </div>
17
- </div>
18
21
 
19
- <div class="col-md-6">
20
22
  <div class="panel panel-color panel-gray">
21
23
 
22
24
  <div class="panel-heading">
@@ -31,6 +33,24 @@
31
33
 
32
34
  </div>
33
35
  </div>
36
+
37
+ <div class="col-md-6">
38
+ <div class="panel panel-color panel-gray">
39
+
40
+ <div class="panel-heading">
41
+ <h3 class="panel-title">Check Price</h3>
42
+ </div>
43
+
44
+ <div class="panel-body search-env">
45
+ <div id="div_terminal_dashboard_search_form">
46
+ <%= render :partial=>"vyapari/terminal_staff/dashboard/search_form" -%>
47
+ </div>
48
+ <div id="div_terminal_dashboard_search_results">
49
+ </div>
50
+ </div>
51
+
52
+ </div>
53
+ </div>
34
54
  </div>
35
55
 
36
56
  <%= clear_tag(60) %>
@@ -0,0 +1,12 @@
1
+ <% if @products.any? %>
2
+
3
+ // Refresh the list
4
+ // $('#div_terminal_dashboard_search_form').html("<%#= escape_javascript(render(:partial=>"vyapari/terminal_staff/dashboard/search_form")) %>");
5
+ $('#div_terminal_dashboard_search_results').html("<%= escape_javascript(render(:partial=>"vyapari/terminal_staff/dashboard/search_results")) %>");
6
+
7
+ <% else %>
8
+
9
+ var noResultsText = "<%= escape_javascript(theme_panel_message(I18n.translate('success.no_results_found')))%>";
10
+ $('#div_terminal_dashboard_search_results').html(noResultsText);
11
+
12
+ <% end %>
@@ -9,7 +9,9 @@
9
9
  <th style="text-align: center;">Payment Method</th>
10
10
  <th style="text-align: right;">Total Amount</th>
11
11
  <th>Status</th>
12
+ <% if @current_user.has_role?("POS Sales Maanger") %>
12
13
  <th style="text-align: center;">Actions</th>
14
+ <% end %>
13
15
  </tr>
14
16
  </thead>
15
17
 
@@ -42,6 +44,8 @@
42
44
 
43
45
  <td class="invoice-name" style="text-align: center;"><%= invoice.display_status %></td>
44
46
 
47
+ <% if @current_user.has_role?("POS Sales Maanger") %>
48
+
45
49
  <td class="action-links" style="width:10%">
46
50
 
47
51
  <%= link_to raw("<i class=\"linecons-pencil\"></i> Edit"), edit_link, :remote=>true, class: "edit" %>
@@ -50,6 +54,8 @@
50
54
 
51
55
  </td>
52
56
 
57
+ <% end %>
58
+
53
59
  </tr>
54
60
  <% end %>
55
61
  </tbody>
@@ -97,7 +97,7 @@
97
97
 
98
98
  <!-- Invoice Entries -->
99
99
  <table class="table table-bordered mt-60">
100
- <thead>
100
+ <thead class="hidden-xs">
101
101
  <tr style="">
102
102
  <th width="10%" class="text-center">No</th>
103
103
  <th width="40%" class="text-center">Item</th>
@@ -12,8 +12,6 @@
12
12
  <div class="row">
13
13
  <div class="col-md-6">
14
14
 
15
- <%= theme_button('Create Invoice', 'plus', terminal_staff_invoices_path(@terminal), remote: false, classes: "pull-left", btn_type: "success") %>
16
-
17
15
  <%= theme_button('Refresh', 'refresh', terminal_staff_invoices_path(@terminal), classes: "pull-left ml-10", btn_type: "white") %>
18
16
 
19
17
  </div>
@@ -5,6 +5,8 @@
5
5
  var bodyContent = "<%= escape_javascript(render(:partial=>"#{@resource_options[:view_path]}/draft")) %>";
6
6
  showLargeModal(heading, bodyContent, false);
7
7
 
8
+ $('#div_terminal_dashboard_counts').html("<%= escape_javascript(render(:partial=>"vyapari/terminal_staff/dashboard/counts")) %>");
9
+
8
10
  <% else %>
9
11
 
10
12
  // Showing Growl Like Message
@@ -37,7 +37,7 @@
37
37
 
38
38
  </style>
39
39
 
40
- <div class="row ili" id="div_line_item_header">
40
+ <div class="row ili hidden-xs" id="div_line_item_header">
41
41
  <div class="col-md-1 li-heading li-sl li-center">#</div>
42
42
  <div class="col-md-4 li-heading li-item-name li-left">Item</div>
43
43
  <div class="col-md-2 li-heading li-quantity li-center">Quantity</div>
data/config/routes.rb CHANGED
@@ -74,6 +74,7 @@ Vyapari::Engine.routes.draw do
74
74
 
75
75
  scope '/:terminal_id' do
76
76
  get '/dashboard', to: "dashboard#index", as: :dashboard
77
+ get '/search', to: "dashboard#search", as: :dashboard_search
77
78
  resources :invoices do
78
79
  resources :line_items
79
80
  end
@@ -1,3 +1,3 @@
1
1
  module Vyapari
2
- VERSION = '0.1.5dev6'
2
+ VERSION = '0.1.5dev7'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vyapari
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5dev6
4
+ version: 0.1.5dev7
5
5
  platform: ruby
6
6
  authors:
7
7
  - kpvarma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-06 00:00:00.000000000 Z
11
+ date: 2017-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -104,28 +104,28 @@ dependencies:
104
104
  requirements:
105
105
  - - "~>"
106
106
  - !ruby/object:Gem::Version
107
- version: 0.1.5dev2
107
+ version: 0.1.5dev3
108
108
  type: :runtime
109
109
  prerelease: false
110
110
  version_requirements: !ruby/object:Gem::Requirement
111
111
  requirements:
112
112
  - - "~>"
113
113
  - !ruby/object:Gem::Version
114
- version: 0.1.5dev2
114
+ version: 0.1.5dev3
115
115
  - !ruby/object:Gem::Dependency
116
116
  name: usman
117
117
  requirement: !ruby/object:Gem::Requirement
118
118
  requirements:
119
119
  - - "~>"
120
120
  - !ruby/object:Gem::Version
121
- version: 0.1.5dev2
121
+ version: 0.1.5dev3
122
122
  type: :runtime
123
123
  prerelease: false
124
124
  version_requirements: !ruby/object:Gem::Requirement
125
125
  requirements:
126
126
  - - "~>"
127
127
  - !ruby/object:Gem::Version
128
- version: 0.1.5dev2
128
+ version: 0.1.5dev3
129
129
  - !ruby/object:Gem::Dependency
130
130
  name: bcrypt
131
131
  requirement: !ruby/object:Gem::Requirement
@@ -455,7 +455,10 @@ files:
455
455
  - app/views/vyapari/store_manager/stock_entries/index.html.erb
456
456
  - app/views/vyapari/terminal_staff/dashboard/_counts.html.erb
457
457
  - app/views/vyapari/terminal_staff/dashboard/_invoices.html.erb
458
+ - app/views/vyapari/terminal_staff/dashboard/_search_form.html.erb
459
+ - app/views/vyapari/terminal_staff/dashboard/_search_results.html.erb
458
460
  - app/views/vyapari/terminal_staff/dashboard/index.html.erb
461
+ - app/views/vyapari/terminal_staff/dashboard/search.js.erb
459
462
  - app/views/vyapari/terminal_staff/invoices/_draft.html.erb
460
463
  - app/views/vyapari/terminal_staff/invoices/_form.html.erb
461
464
  - app/views/vyapari/terminal_staff/invoices/_index.html.erb