diff --git a/app/assets/stylesheets/client_management/backend.css b/app/assets/stylesheets/client_management/backend.css index ff208ff..9fbf5ca 100644 --- a/app/assets/stylesheets/client_management/backend.css +++ b/app/assets/stylesheets/client_management/backend.css @@ -8,8 +8,9 @@ h1, h2, h3, h4, h5, h6, label, legend { background: #fff; padding: 20px; border: 1px solid #ddd; - margin: 30px; + margin: 30px 0 30px 15px; max-width: 1000px; + position: relative; } .sub-title { color: #337ab7; @@ -18,9 +19,36 @@ h1, h2, h3, h4, h5, h6, label, legend { margin: 50px 0 5px; padding: 0 0 0 8px; } +.sub-title .label { + padding: 4px 10px 5px; + font-size: 12px; + margin: 0 0 0 10px; + vertical-align: text-top; +} .page-client > div:first-child .sub-title { margin: 20px 0 5px; } +.page-client > * { + margin: 0 0 30px; +} +.page-receipts .info-receipts { + overflow-x: auto; +} +.page-receipts table { + margin: 0 0 10px; +} +.page-receipts table .btn { + width: auto; + margin: 0; +} +.page-receipts table th { + width: 15%; + white-space: normal; + vertical-align: top; +} +.page-client > *:last-child { + margin: 0; +} .line-content { width: 100%; margin: 0 0 15px; @@ -52,6 +80,7 @@ div .line-content:nth-child(1) { } .line-content .header-line label { color: #000; + font-size: 15px; font-weight: 500; float: left; width: 200px; @@ -82,6 +111,12 @@ div .line-content:nth-child(1) { margin: 10px 0; border-radius: 4px; } +.line-content.qt div.requirement-text { + background: rgba(0,0,0,0.04); + padding: 10px; + margin: 10px 0; + border-radius: 4px; +} .line-content.qt ol.custom-module li { margin: 5px 0; } diff --git a/app/views/admin/client_managements/_purchase_form.html.erb b/app/views/admin/client_managements/_purchase_form.html.erb index 2ced525..e75ec62 100644 --- a/app/views/admin/client_managements/_purchase_form.html.erb +++ b/app/views/admin/client_managements/_purchase_form.html.erb @@ -52,4 +52,9 @@ <% if @receipt.new_record? %> <%= f.hidden_field :contract_purchase_id, :value => @purchase.id.to_s %> <% end %> -<%= f.submit "Submit", :class => "btn btn-primary" %> \ No newline at end of file + +
<%= pr.receipt_number %> | +<%= pr.amount %> | +<%= pr.amount_received %> | +<%= pr.amount_pending %> | ++ <% if pr.is_pending? %> + Pending + <% else %> + Cleared + <% end %> + | +Edit | +||||||
<%= pr.receipt_number %> | -<%= pr.amount %> | -<%= pr.amount_received %> | -<%= pr.amount_pending %> | -- <% if pr.is_pending? %> - Pending - <% else %> - Cleared - <% end %> - | -Edit | +No receipts issued. | |||||
No receipts issued. | -