added checkbox next to each item in the refund invoice
Showing
1 changed file
with
11 additions
and
8 deletions
| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head> | 2 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| 3 | <head> | ||
| 3 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | 4 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |
| 4 | 5 | ||
| 5 | <title>Refund: <?php echo $invoice->getTitle(); ?></title> | 6 | <title>Refund: <?php echo $invoice->getTitle(); ?></title> |
| 7 | |||
| 8 | </head> | ||
| 9 | |||
| 10 | <body class="invoice-refund"> | ||
| 6 | <style type="text/css"> | 11 | <style type="text/css"> |
| 7 | html, body { margin:0px; padding:0;} | 12 | html, body { margin:0px; padding:0;} |
| 8 | .title-link { | 13 | .title-link { |
| ... | @@ -42,9 +47,7 @@ | ... | @@ -42,9 +47,7 @@ |
| 42 | font-size: 11px; | 47 | font-size: 11px; |
| 43 | } | 48 | } |
| 44 | </style> | 49 | </style> |
| 45 | </head> | ||
| 46 | 50 | ||
| 47 | <body class="invoice-refund"> | ||
| 48 | <div style="display:block; width:750px; margin-bottom:0px;"> | 51 | <div style="display:block; width:750px; margin-bottom:0px;"> |
| 49 | <div class="title-link">Refund: <?php echo $invoice->getTitle(); ?></div> | 52 | <div class="title-link">Refund: <?php echo $invoice->getTitle(); ?></div> |
| 50 | <div style="padding:10px;"> | 53 | <div style="padding:10px;"> |
| ... | @@ -55,6 +58,7 @@ | ... | @@ -55,6 +58,7 @@ |
| 55 | <thead><tr> | 58 | <thead><tr> |
| 56 | <th>Item Description</th> | 59 | <th>Item Description</th> |
| 57 | <th width="140">Refund?</th> | 60 | <th width="140">Refund?</th> |
| 61 | <th width="140">Cancel Fee?</th> | ||
| 58 | </tr></thead> | 62 | </tr></thead> |
| 59 | 63 | ||
| 60 | <tbody> | 64 | <tbody> |
| ... | @@ -69,6 +73,10 @@ | ... | @@ -69,6 +73,10 @@ |
| 69 | <input type="checkbox" checked="checked" value="1" id="<?php echo $unq; ?>" name="<?php echo $unq; ?>" /> | 73 | <input type="checkbox" checked="checked" value="1" id="<?php echo $unq; ?>" name="<?php echo $unq; ?>" /> |
| 70 | <label for="<?php echo $unq; ?>" class="amount">(-$<?php echo $item->getTotal();?>)</label> | 74 | <label for="<?php echo $unq; ?>" class="amount">(-$<?php echo $item->getTotal();?>)</label> |
| 71 | </td> | 75 | </td> |
| 76 | <td> | ||
| 77 | <input type="checkbox" checked="checked" value="1" id="force_cancellation_fee" name="force_cancellation_fee" /> | ||
| 78 | <label for="<?php echo $unq; ?>" class="amount">(+<?php echo '$150.00'; ?>)</label> | ||
| 79 | </td> | ||
| 72 | </tr> | 80 | </tr> |
| 73 | <?php endforeach; ?> | 81 | <?php endforeach; ?> |
| 74 | </tbody></table> | 82 | </tbody></table> |
| ... | @@ -76,11 +84,6 @@ | ... | @@ -76,11 +84,6 @@ |
| 76 | <div style="padding-top:8px;margin-top:25px;"> | 84 | <div style="padding-top:8px;margin-top:25px;"> |
| 77 | <table cellpadding="0" cellspacing="0" width="100%" border="0"> | 85 | <table cellpadding="0" cellspacing="0" width="100%" border="0"> |
| 78 | <tr> | 86 | <tr> |
| 79 | <td> | ||
| 80 | <input name="force_cancellation_fee" id="force_cancellation_fee" value="1" type="checkbox" checked="checked" /> | ||
| 81 | <label for="force_cancellation_fee">Apply cancellation fee?</label> | ||
| 82 | <label for="force_cancellation_fee" class="amount">(<?php echo '$150.00'; ?>)</label> | ||
| 83 | </td> | ||
| 84 | <td width="400" style="text-align:right;"> | 87 | <td width="400" style="text-align:right;"> |
| 85 | <input type="submit" value="Apply Changes" /> <input type="button" value="Cancel Changes" id="refund_cancel_btn" /> | 88 | <input type="submit" value="Apply Changes" /> <input type="button" value="Cancel Changes" id="refund_cancel_btn" /> |
| 86 | </td> | 89 | </td> | ... | ... |
-
Please register or sign in to post a comment