inventorymaster 0.0.2 → 0.0.3
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 +4 -4
- data/README.rdoc +34 -1
- data/app/controllers/inventorymaster/products_controller.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e416af2714dba608e0d2b5c296acc9bb24f39e51
|
4
|
+
data.tar.gz: a15979f3c56218b2120686d295f2247a123220a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6635be37c2737c3655fb70c48b6a407d134b95b32a5e3510b5e285d87686311bb3cdaf8632b89bc30dc1478afe04d6242a422563af5db6bc4886303ae77e6178
|
7
|
+
data.tar.gz: 3d4158d916743b4969899709a7f022a1cd03fbcfdd5d7b0cb6308ef94772d4a34f83b9cac280a53769979bd425e920aceefcb8aed35a1c3773d7acdaf813e539
|
data/README.rdoc
CHANGED
@@ -1,3 +1,36 @@
|
|
1
1
|
= Inventorymaster
|
2
2
|
|
3
|
-
This project
|
3
|
+
This project provide an engine system for basic inventory management.
|
4
|
+
|
5
|
+
How to use
|
6
|
+
|
7
|
+
Add to your Gemfile
|
8
|
+
gem 'inventorymaster'
|
9
|
+
|
10
|
+
bundle install
|
11
|
+
|
12
|
+
after this all migrations inside a engine stay displonible in main application.
|
13
|
+
|
14
|
+
rake db:migrate
|
15
|
+
|
16
|
+
Add to your routes file
|
17
|
+
|
18
|
+
mount Inventorymaster::Engine, :at => '/stok'
|
19
|
+
|
20
|
+
Aftere this the system is ready
|
21
|
+
paste this code in application.html.erb to see and navigate in the app.
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
<li><a href="/stok/locations">Locals</a></li>
|
26
|
+
<li><a href="/stok/areas">Areas</a></li>
|
27
|
+
<li><a href="/stok/manufacturers">Manufactures</a></li>
|
28
|
+
<li><a href="/stok/settings">Settings</a></li>
|
29
|
+
<li><a href="/stok/products">Products</a></li>
|
30
|
+
<li><a href="/stok/transaction_types">Transactions Type</a></li>
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
App takes the layout from main app, but this engine uses Bootstrap 3.0.0 layout.
|
35
|
+
|
36
|
+
Enjoy!!!
|
@@ -3,7 +3,7 @@ require_dependency "inventorymaster/application_controller"
|
|
3
3
|
module Inventorymaster
|
4
4
|
class ProductsController < ApplicationController
|
5
5
|
before_action :set_product, only: [:show, :edit, :update, :destroy]
|
6
|
-
|
6
|
+
#autocomplete Inventorymaster::Product, :name
|
7
7
|
# GET /products
|
8
8
|
def index
|
9
9
|
@products = Product.all.page(params[:page])
|