bookkeeper 0.0.1.beta2 → 0.0.1
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.
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
<td><%= purchase.warranty_duration %> <%=t '.months' %></td>
|
|
21
21
|
<td><%= link_to "<i class='icon-download-alt'></i> #{purchase.receipt.file.filename}".html_safe, purchase.receipt.url, class: 'btn btn-mini' if purchase.receipt.file %></td>
|
|
22
22
|
<td>
|
|
23
|
-
<%= link_to ('<i class="icon-search"></i> ' + t('bookkeeper.actions.show')).html_safe, purchase, class: 'btn btn-mini' %>
|
|
24
23
|
<%= link_to ('<i class="icon-pencil"></i> ' + t('bookkeeper.actions.edit')).html_safe, edit_purchase_path(purchase), class: 'btn btn-mini' %>
|
|
25
24
|
<%= link_to ('<i class="icon-remove"></i> ' + t('bookkeeper.actions.destroy')).html_safe, purchase, method: :delete, data: { confirm: 'Are you sure?' }, class: 'btn btn-mini btn-danger' %>
|
|
26
25
|
</td>
|
data/config/locales/en.yml
CHANGED
data/lib/bookkeeper/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bookkeeper
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.1
|
|
5
|
-
prerelease:
|
|
4
|
+
version: 0.0.1
|
|
5
|
+
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Tommaso Visconti
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-02-
|
|
12
|
+
date: 2013-02-24 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|
|
@@ -242,7 +242,6 @@ files:
|
|
|
242
242
|
- app/views/bookkeeper/purchases/edit.html.erb
|
|
243
243
|
- app/views/bookkeeper/purchases/index.html.erb
|
|
244
244
|
- app/views/bookkeeper/purchases/new.html.erb
|
|
245
|
-
- app/views/bookkeeper/purchases/show.html.erb
|
|
246
245
|
- app/views/layouts/bookkeeper/application.html.erb
|
|
247
246
|
- config/initializers/carrierwave.rb
|
|
248
247
|
- config/initializers/simple_form.rb
|
|
@@ -352,9 +351,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
352
351
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
353
352
|
none: false
|
|
354
353
|
requirements:
|
|
355
|
-
- - ! '
|
|
354
|
+
- - ! '>='
|
|
356
355
|
- !ruby/object:Gem::Version
|
|
357
|
-
version:
|
|
356
|
+
version: '0'
|
|
358
357
|
requirements: []
|
|
359
358
|
rubyforge_project:
|
|
360
359
|
rubygems_version: 1.8.24
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
<p id="notice"><%= notice %></p>
|
|
2
|
-
|
|
3
|
-
<p>
|
|
4
|
-
<b>Title:</b>
|
|
5
|
-
<%= @purchase.title %>
|
|
6
|
-
</p>
|
|
7
|
-
|
|
8
|
-
<p>
|
|
9
|
-
<b>Description:</b>
|
|
10
|
-
<%= @purchase.description %>
|
|
11
|
-
</p>
|
|
12
|
-
|
|
13
|
-
<p>
|
|
14
|
-
<b>Purchase date:</b>
|
|
15
|
-
<%= @purchase.purchase_date %>
|
|
16
|
-
</p>
|
|
17
|
-
|
|
18
|
-
<p>
|
|
19
|
-
<b>Warranty duration:</b>
|
|
20
|
-
<%= @purchase.warranty_duration %>
|
|
21
|
-
</p>
|
|
22
|
-
|
|
23
|
-
<p>
|
|
24
|
-
<b>Receipt:</b>
|
|
25
|
-
<% if ['png', 'jpg', 'jpeg', 'gif'].include?(@purchase.receipt.file.extension.downcase) %>
|
|
26
|
-
<%= link_to image_tag(@purchase.receipt.thumb.url), @purchase.receipt.url %>
|
|
27
|
-
<% else %>
|
|
28
|
-
<%= link_to "<i class='icon-download-alt'></i> #{@purchase.receipt.file.filename}".html_safe, @purchase.receipt.url, class: 'btn' %>
|
|
29
|
-
<% end %>
|
|
30
|
-
</p>
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
<%= link_to '<i class="icon-pencil"></i> Edit'.html_safe, edit_purchase_path(@purchase), class: 'btn' %>
|
|
34
|
-
<%= link_to '<i class="icon-arrow-left"></i> Back'.html_safe, purchases_path, class: 'btn' %>
|