Added gas to vechicle, and made it easier to denote partial fillups.

This commit is contained in:
James Skemp 2014-11-09 11:52:01 -06:00
parent e022ea3ca4
commit 73201d11e5
2 changed files with 31 additions and 2 deletions

View File

@ -13,7 +13,9 @@
<!ELEMENT fillups (fillup*)>
<!ELEMENT fillup (date, milesCar, milesDriven, gallons, costGallon, costTotal, notes)>
<!ATTLIST fillup id CDATA #REQUIRED>
<!ATTLIST fillup
id CDATA #REQUIRED
partial (true|false) "false">
<!ELEMENT date (#PCDATA)>
<!ELEMENT milesCar (#PCDATA)>

View File

@ -38,7 +38,7 @@
<costTotal>12.16</costTotal>
<notes/>
</fillup>
<fillup id="4">
<fillup id="4" partial="true">
<date>2005-07-20</date>
<milesCar>149782</milesCar>
<milesDriven>227.1</milesDriven>
@ -2910,6 +2910,33 @@
<costTotal>36.43</costTotal>
<notes>Lowest I've seen it in a while.</notes>
</fillup>
<fillup id="256">
<date>2014-11-08</date>
<milesCar>54321</milesCar>
<milesDriven>176.1</milesDriven>
<gallons>7.300</gallons>
<costGallon>2.959</costGallon>
<costTotal>21.60</costTotal>
<notes>Filling up before heading up north to shop.</notes>
</fillup>
<fillup id="257" partial="true">
<date>2014-11-09</date>
<milesCar>54665</milesCar>
<milesDriven>344.7</milesDriven>
<gallons>2.002</gallons>
<costGallon>2.999</costGallon>
<costTotal>6.00</costTotal>
<notes>Partial. Gas light turned on, and I knew I couldn't get back to the west side with 1-lane on the beltline. Back from Green Bay trip.</notes>
</fillup>
<fillup id="258">
<date>2014-11-09</date>
<milesCar>54686</milesCar>
<milesDriven>365.4</milesDriven>
<gallons>12.048</gallons>
<costGallon>2.959</costGallon>
<costTotal>35.05</costTotal>
<notes>Saved $0.05/gallon with card. Finished filling up tank.</notes>
</fillup>
</fillups>
</vehicle>
</vehicles>