<commit_before>Spree Pos [![Code Climate](https://codeclimate.com/github/vinsol/spree-point-of-sale.png)](https://codeclimate.com/github/vinsol/spree-point-of-sale) [![Build Status](https://travis-ci.org/vinsol/spree-point-of-sale.png?branch=master)](https://travis-ci.org/vinsol/spree-point-of-sale)
=========
SpreePos hooks into the Admin Tab and is meant to be used to sell at a shop.

Allows you to search and add items available at the selected stock location. 
Apply discount on items, associate the order to customer email and save the details of payment to finally finish the order with an invoice ready to print.


Dependencies
============
1) spree_html_invoice (optional)

By default POS relies on html-invoice to print a receipt. You can configure this away by setting :pos_printing to the url where you want to redirect after print. 

2) barby

3) prawn

4) chunky_png


SET UP
=======
To your Gemfile add:

Add spree-point-of-sale to your Gemfile:

```ruby
gem "spree-point-of-sale", require: 'spree_pos'
```

For specific spree versions:

```ruby
#Spree 2.0.x
gem "spree-point-of-sale", '1.0.3', require: 'spree_pos'
```

```ruby
#Spree 2.1.x
gem "spree-point-of-sale", '1.1.1', require: 'spree_pos'
```

```ruby
#Spree 2.2.x
gem "spree-point-of-sale", '1.2.1', require: 'spree_pos'
```<commit_msg>remove require: spree_pos from gemfile while specifying the gem<commit_after>Spree Pos [![Code Climate](https://codeclimate.com/github/vinsol/spree-point-of-sale.png)](https://codeclimate.com/github/vinsol/spree-point-of-sale) [![Build Status](https://travis-ci.org/vinsol/spree-point-of-sale.png?branch=master)](https://travis-ci.org/vinsol/spree-point-of-sale)
=========
SpreePos hooks into the Admin Tab and is meant to be used to sell at a shop.

Allows you to search and add items available at the selected stock location. 
Apply discount on items, associate the order to customer email and save the details of payment to finally finish the order with an invoice ready to print.


Dependencies
============
1) spree_html_invoice (optional)

By default POS relies on html-invoice to print a receipt. You can configure this away by setting :pos_printing to the url where you want to redirect after print. 

2) barby

3) prawn

4) chunky_png


SET UP
=======
To your Gemfile add:

Add spree-point-of-sale to your Gemfile:

```ruby
gem "spree-point-of-sale"
```

For specific spree versions:

```ruby
#Spree 2.0.x
gem "spree-point-of-sale", '1.0.3'
```

```ruby
#Spree 2.1.x
gem "spree-point-of-sale", '1.1.1'
```

```ruby
#Spree 2.2.x
gem "spree-point-of-sale", '1.2.1'
```
{'fraction_non_alphanumeric': 0.1464451313755796, 'fraction_numerical': 0.014683153013910355, 'mean_word_length': 4.4050104384133615, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '545994', 'n_tokens_mistral': 969, 'n_tokens_neox': 897, 'n_words': 290}