Sha256: 46e525d6114f1973f65778474cb1bcd11581f668bf9cb7d2729da043b0aba4d7

Contents?: true

Size: 1.41 KB

Versions: 2

Compression:

Stored size: 1.41 KB

Contents

<html>
<head>
<style>
h1 {
  text-align: center;
  background-color: black;
  color: white;
  border-radius: 10px;
}

td {
  padding: 5px;
  vertical-align: top;
  white-space: pre;
}

table {
  border-spacing: 0px;
  border-collapse: separate;
  margin-bottom: 40px;
}

table td:first-child {
  font-weight: bold;
  white-space: nowrap;
}

table.items td:first-child {
  font-weight: normal;
}

.summary > td {
  white-space: nowrap;
}

.client {
  float: left;
}

.summary {
  float: right;
}

.items {
  clear: both;
  width: 100%;
}
.items th {
  padding: 4px;
  background-color: #e9e9e9;
  text-align: left;
}
.items th:first-child {
  border-radius: 5px 0px 0px 5px;
}
.items th:last-child {
  border-radius: 0px 5px 5px 0px;
}
.notes {
  white-space: pre;
}
</style>
</head>
<body>
<h1>%header%</h1>

<table class="from">
<tr>
  <td>From</td>
  <td>%from%</td>
</tr>
</table>

<table class="client">
<tr>
  <td>Client</td>
  <td>%client%</td>
</tr>
</table>


<table class="summary">
  <tr>
    <td>Invoice Number</td>
    <td>%number%</td>
  </tr>
  <tr>
    <td>Date</td>
    <td>%date%</td>
  </tr>
  <tr>
    <td>Due date</td>
    <td>%due-date%</td>
  </tr>
  <tr>
    <td>Balance Due</td>
    <td>%balance%</td>
  </tr>
</table>

<table class="items">
  <tr>
    <th>Item</th>
    <th>Quantity</th>
    <th>Rate</th>
    <th>Amount</th>
  </tr>
  %items%
</table>

<h2>Notes</h2>
<p class="notes">%notes%</p>
</body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
invoicegenerator-1.0.1 lib/invoicegenerator/invoicegenerator.html
invoicegenerator-1.0.0 lib/invoicegenerator/invoicegenerator.html