Skip to content

Commit

Permalink
Fixed default bill
Browse files Browse the repository at this point in the history
  • Loading branch information
lillem4n committed Oct 12, 2012
1 parent b327d2b commit 6e823ff
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 38 deletions.
54 changes: 27 additions & 27 deletions css/pdfs.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ table.box_table tr.column_decider td {height: 1px;}

table.box_table td
{
border: 1px solid #f2a201;
border: 1px solid #a2a2a2;
border-top: none;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
Expand Down Expand Up @@ -73,9 +73,9 @@ table.box_table td.vclearer

table.box_table th
{
border: 1px solid #f2a201;
border: 1px solid #a2a2a2;
border-bottom: none;
background-color: #fcc200;
background-color: #c2c2c2;
font-weight: normal;
padding: 2px;
border-top-left-radius: 5px;
Expand Down Expand Up @@ -109,9 +109,9 @@ table.salary

table.salary th
{
border: 1px solid #F2A201;
border: 1px solid #a2a2a2;
border-bottom: none;
background-color: #fcc200;
background-color: #c2c2c2;
font-weight: normal;
padding: 5px;
width: 200px;
Expand Down Expand Up @@ -140,22 +140,22 @@ table.salary

table.salary td.thingie
{
border-left: 1px solid #F2A201;
border-left: 1px solid #a2a2a2;
padding-left: 20px;
text-align: left;
}

table.salary td.numbers
{
border-right: 1px solid #F2A201;
border-right: 1px solid #a2a2a2;
padding-right: 20px;
text-align: right;
}

table.salary tr.last td
{
border-bottom: 1px solid #F2A201;
border-top: 1px solid #F2A201;
border-bottom: 1px solid #a2a2a2;
border-top: 1px solid #a2a2a2;
}

table.salary tr.last td strong
Expand Down Expand Up @@ -189,26 +189,26 @@ table.items
table.items tr.bottom td.tot_value
{
font-weight: normal;
border-right: 1px solid #f2a201;
border-right: 1px solid #a2a2a2;
}

table.items tr.bottom td.tot_ex_vat,
table.items tr.bottom td.vat,
table.items tr.bottom td.tot
{
border-left: 1px solid #f2a201;
border-left: 1px solid #a2a2a2;
}

table.items tr.bottom td.tot
{
border-bottom: 1px solid #f2a201;
border-bottom: 1px solid #a2a2a2;
border-bottom-left-radius: 5px;
font-weight: bold;
}

table.items tr.bottom td.tot_value
{
border-bottom: 1px solid #f2a201;
border-bottom: 1px solid #a2a2a2;
border-bottom-right-radius: 5px;
font-weight: bold;
}
Expand All @@ -229,21 +229,21 @@ table.items

table.items tr.odd td
{
background-color: #fef3cc;
background-color: #eee;
}

table.items th
{
background-color: #fcc200;
background-color: #c2c2c2;
font-weight: normal;
padding: 2px;
border-top: 1px solid #f2a201;
border-bottom: 1px solid #f2a201;
border-top: 1px solid #a2a2a2;
border-bottom: 1px solid #a2a2a2;
}

table.items th.artnr
{
border-left: 1px solid #f2a201;
border-left: 1px solid #a2a2a2;
border-top-left-radius: 5px;
width: 98px;
}
Expand All @@ -265,27 +265,27 @@ table.items

table.items th.price
{
border-right: 1px solid #f2a201;
border-right: 1px solid #a2a2a2;
border-top-right-radius: 5px;
width: 83px;
}

table.items td
{
background-color: #fceccc;
background-color: #dbdbdb;
font-weight: normal;
padding: 2px 12px 2px 12px;
}

table.items td.last
{
border-bottom: 1px solid #f2a201;
border-bottom: 1px solid #a2a2a2;
}

table.items td.artnr
{
border-left: 1px solid #f2a201;
border-right: 1px solid #f2a201;
border-left: 1px solid #a2a2a2;
border-right: 1px solid #a2a2a2;
}

table.items td.artnr.last
Expand All @@ -295,20 +295,20 @@ table.items

table.items td.qty
{
border-right: 1px solid #f2a201;
border-left: 1px solid #f2a201;
border-right: 1px solid #a2a2a2;
border-left: 1px solid #a2a2a2;
text-align: right;
}

table.items td.single_price
{
border-right: 1px solid #f2a201;
border-right: 1px solid #a2a2a2;
text-align: right;
}

table.items td.price
{
border-right: 1px solid #f2a201;
border-right: 1px solid #a2a2a2;
text-align: right;
}
/** End of Items table **/
Expand Down
22 changes: 11 additions & 11 deletions xsl/bill.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@
<tr><td colspan="7" class="hclearer"></td></tr>

<tr>
<th>Er referens</th>
<td class="vclearer"></td>
<th>Vår referens</th>
<td class="vclearer"></td>
<th>Er referens</th>
<td class="vclearer"></td>
<th>Betalningsvillkor</th>
<td class="vclearer"></td>
<th>Förfallodatum</th>
Expand Down Expand Up @@ -193,22 +193,22 @@
</tr>
<tr>
<td colspan="2" class="nocontent"></td>
<td>Stockholm</td>
<td>Hittepåstaden</td>
<td class="vclearer"></td>
<td colspan="3">556758-4874</td>
<td colspan="3">5588662431</555>
</tr>
<tr><td colspan="7" class="hclearer"></td></tr>
<tr>
<th>Bankgiro</th>
<th>BankGiro</th>
<td class="vclearer"></td>
<th>Momsreg.nr</th>
<td class="vclearer"></td>
<td colspan="3" class="nocontent"></td>
</tr>
<tr>
<td>429-9020</td>
<td>1111 222</td>
<td class="vclearer"></td>
<td>SE556758487401</td>
<td>SE558866243101</td>
<td class="vclearer"></td>
<td style="border: none;"></td>
<td class="vclearer"></td>
Expand All @@ -219,18 +219,18 @@
<table class="footer">
<td class="left">
<strong>Telefon:</strong><br />
<xsl:text>+46 709 77 1337</xsl:text>
<xsl:text>+46 8 111 22 11</xsl:text>
</td>
<td class="left">
<strong>Internet:</strong><br />
<xsl:text>www.larvit.se</xsl:text>
<xsl:text>foretaget.se</xsl:text>
</td>
<td class="center">
<strong>Adress:</strong><br />
<xsl:text>Havsörnsvägen 8, 123 49 Farsta</xsl:text>
<xsl:text>Gatanistan, 123 45 Hittepåstaden</xsl:text>
</td>
<td class="right">
<strong>Larv IT AB innehar F-skattesedel.</strong>
<strong>Stollebolaget AB innehar F-skattesedel.</strong>
</td>
</table>
</body>
Expand Down

0 comments on commit 6e823ff

Please sign in to comment.