This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%= stylesheet_link_tag 'bootstrap-datepicker' %> | |
<%= javascript_include_tag 'bootstrap-datepicker' %> | |
<%= bootstrap_form_for([@camper, @order], label_errors: true, inline_errors: false) do |f| %> | |
<div class="row"><!-- Date Fields Start --> | |
<div class="col-md-4"><%= f.text_field :title, label: "Work Order Name" %></div> | |
<div class="col-md-4"><%= f.text_field :dateIn, label: "Date In", class: "datepicker" %></div> | |
<div class="col-md-4"><%= f.text_field :dateOut, label: "Date Out", class: "datepicker" %></div> | |
</div><!-- Date Fields End --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
odule Quickbooks | |
module Model | |
class Customer < BaseModel | |
XML_COLLECTION_NODE = "Customer" | |
XML_NODE = "Customer" | |
REST_RESOURCE = 'customer' | |
include NameEntity::Quality | |
include NameEntity::PermitAlterations | |
xml_name XML_NODE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class OrdersController < ApplicationController | |
before_action :set_order, only: [:show, :edit, :update, :destroy] | |
layout "order", only: [:show] | |
# GET /orders | |
# GET /orders.json | |
def index | |
@orders = Order.all.reverse_order | |
end | |
# GET /orders/1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rails.application.routes.draw do | |
resources :notes | |
resources :guests | |
resources :calls | |
devise_for :users, controllers: { sessions: 'users/sessions', :invitations => 'users/invitations' } | |
resources :users, only: [:show] | |
resources :campers | |
resources :customers do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
guests GET /guests(.:format) guests#index | |
POST /guests(.:format) guests#create | |
new_guest GET /guests/new(.:format) guests#new | |
edit_guest GET /guests/:id/edit(.:format) guests#edit | |
guest GET /guests/:id(.:format) guests#show | |
PATCH /guests/:id(.:format) guests#update | |
PUT /guests/:id(.:format) guests#update | |
DELETE /guests/:id(.:format) guests#destroy | |
calls GET /calls(.:format) calls#index | |
POST /calls(.:format) calls#create |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import url('normalize'); | |
@media print{ | |
@page { | |
size: landscape; | |
margin: 0px; | |
text-align: center; | |
-webkit-transform: rotate(-90deg); | |
} | |
.order-info { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.tooltip { | |
position: absolute !important; | |
z-index: 1070; | |
font-family: "Titillium Web", Helvetica, Arial, sans-serif; | |
font-size: 18px; | |
font-style: normal; | |
font-weight: normal; | |
text-align: center; | |
text-decoration: none; | |
text-shadow: none; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2015-08-14T03:23:14.838754+00:00 app[web.1]: [2015-08-14 03:23:14] INFO WEBrick::HTTPServer#start: pid=3 port=19704 | |
2015-08-14T03:23:15.272682+00:00 heroku[web.1]: State changed from starting to up | |
2015-08-14T03:33:19.250141+00:00 heroku[api]: Detach ZEROPUSH (@ref:soaring-gladly-5172) by austin@mastertechrv.com | |
2015-08-14T03:33:19.250174+00:00 heroku[api]: Release v10 created by austin@mastertechrv.com | |
2015-08-14T03:33:19.360404+00:00 heroku[web.1]: State changed from up to starting | |
2015-08-14T03:33:23.498586+00:00 heroku[web.1]: Stopping all processes with SIGTERM | |
2015-08-14T03:33:24.502557+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 26572 -e production` | |
2015-08-14T03:33:24.557695+00:00 app[web.1]: [2015-08-14 03:33:24] FATAL SignalException: SIGTERM | |
2015-08-14T03:33:24.557700+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:170:in `select' |