cosmetic
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 21 Dec 2005 01:48:15 +0000 (01:48 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 21 Dec 2005 01:48:15 +0000 (01:48 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2490 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/bill_details.xul

index 21b43e8..688dcd0 100644 (file)
                                                row.appendChild(c1);
                                                c1.setAttribute('value', mb_list[i].voided() ? 'Yes' : 'No' );
 
-                                               var c2 = document.createElement('label');
-                                               row.appendChild(c2);
-                                               c2.setAttribute('value', util.date.formatted_date( mb_list[i].billing_ts(),'' ));
+                                               var c4 = document.createElement('label');
+                                               row.appendChild(c4);
+                                               c4.setAttribute('value', util.money.sanitize( mb_list[i].amount() ) );
+                                               c4.setAttribute('class','text-right');
 
                                                var c3 = document.createElement('label');
                                                row.appendChild(c3);
                                                c3.setAttribute('value', mb_list[i].billing_type());
 
-                                               var c4 = document.createElement('label');
-                                               row.appendChild(c4);
-                                               c4.setAttribute('value', util.money.sanitize( mb_list[i].amount() ) );
-                                               c4.setAttribute('class','text-right');
+                                               var c2 = document.createElement('label');
+                                               row.appendChild(c2);
+                                               c2.setAttribute('value', util.date.formatted_date( mb_list[i].billing_ts(),'' ));
 
                                                var c5 = document.createElement('label');
                                                row.appendChild(c5);
                                                //c1.setAttribute('value', mp_list[i].voided() ? 'Yes' : 'No' );
                                                c1.setAttribute('value', 'No' );
 
-                                               var c2 = document.createElement('label');
-                                               row.appendChild(c2);
-                                               c2.setAttribute('value', util.date.formatted_date( mp_list[i].payment_ts(),'' ));
+                                               var c4 = document.createElement('label');
+                                               row.appendChild(c4);
+                                               c4.setAttribute('value', util.money.sanitize( mp_list[i].amount() ) );
+                                               c4.setAttribute('class','text-right');
 
                                                var c3 = document.createElement('label');
                                                row.appendChild(c3);
                                                c3.setAttribute('value', mp_list[i].payment_type());
 
-                                               var c4 = document.createElement('label');
-                                               row.appendChild(c4);
-                                               c4.setAttribute('value', util.money.sanitize( mp_list[i].amount() ) );
-                                               c4.setAttribute('class','text-right');
+                                               var c2 = document.createElement('label');
+                                               row.appendChild(c2);
+                                               c2.setAttribute('value', util.date.formatted_date( mp_list[i].payment_ts(),'' ));
 
                                                var c5 = document.createElement('label');
                                                row.appendChild(c5);
                                        <row>
                                                <spacer />
                                                <label value="Voided" class="header" />
-                                               <label value="When" class="header" />
-                                               <label value="Type" class="header" />
                                                <label value="Amount" class="header" />
+                                               <label value="Type" class="header" />
+                                               <label value="When" class="header" />
                                                <label value="Note" class="header" />
                                        </row>
                                        <row id="ref0">
                                        <row>
                                                <spacer />
                                                <label value="Voided" class="header" />
-                                               <label value="When" class="header" />
-                                               <label value="Type" class="header" />
                                                <label value="Amount" class="header" />
+                                               <label value="Type" class="header" />
+                                               <label value="When" class="header" />
                                                <label value="Note" class="header" />
                                        </row>
                                        <row id="ref1" />