50ef8121 by Kevin Burton

added checkbox next to each item in the refund invoice

1 parent 6894dc1c
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Refund: <?php echo $invoice->getTitle(); ?></title>
</head>
<body class="invoice-refund">
<style type="text/css">
html, body { margin:0px; padding:0;}
.title-link {
......@@ -42,9 +47,7 @@
font-size: 11px;
}
</style>
</head>
<body class="invoice-refund">
<div style="display:block; width:750px; margin-bottom:0px;">
<div class="title-link">Refund: <?php echo $invoice->getTitle(); ?></div>
<div style="padding:10px;">
......@@ -55,6 +58,7 @@
<thead><tr>
<th>Item Description</th>
<th width="140">Refund?</th>
<th width="140">Cancel Fee?</th>
</tr></thead>
<tbody>
......@@ -69,6 +73,10 @@
<input type="checkbox" checked="checked" value="1" id="<?php echo $unq; ?>" name="<?php echo $unq; ?>" />
<label for="<?php echo $unq; ?>" class="amount">(-$<?php echo $item->getTotal();?>)</label>
</td>
<td>
<input type="checkbox" checked="checked" value="1" id="force_cancellation_fee" name="force_cancellation_fee" />
<label for="<?php echo $unq; ?>" class="amount">(+<?php echo '$150.00'; ?>)</label>
</td>
</tr>
<?php endforeach; ?>
</tbody></table>
......@@ -76,11 +84,6 @@
<div style="padding-top:8px;margin-top:25px;">
<table cellpadding="0" cellspacing="0" width="100%" border="0">
<tr>
<td>
<input name="force_cancellation_fee" id="force_cancellation_fee" value="1" type="checkbox" checked="checked" />
<label for="force_cancellation_fee">Apply cancellation fee?</label>
<label for="force_cancellation_fee" class="amount">(<?php echo '$150.00'; ?>)</label>
</td>
<td width="400" style="text-align:right;">
<input type="submit" value="Apply Changes" /> <input type="button" value="Cancel Changes" id="refund_cancel_btn" />
</td>
......