This repository was archived by the owner on Mar 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +19
-8
lines changed Expand file tree Collapse file tree 2 files changed +19
-8
lines changed Original file line number Diff line number Diff line change 4
4
background-color : var (--tc-white );
5
5
}
6
6
7
- .bigRed {
7
+ .bigRed {
8
8
color : red;
9
9
}
10
10
@@ -286,7 +286,8 @@ body {
286
286
.form-container {
287
287
display : flex;
288
288
flex-direction : column;
289
- padding-top : 24px ;
289
+ /* padding-top: 24px; */
290
+ padding-top : 8px ;
290
291
}
291
292
.form-container br {
292
293
display : none;
@@ -391,7 +392,8 @@ body {
391
392
text-decoration : none;
392
393
display : inline-flex;
393
394
align-items : center;
394
- padding : 0 16px 8px ;
395
+ /* padding: 0 16px 8px; */
396
+ padding : 16px ;
395
397
}
396
398
.form-container .payment-table tbody tr .headerRow td a ::after {
397
399
content : url ('/i/reskin-2/sortable.svg' );
Original file line number Diff line number Diff line change @@ -608,13 +608,22 @@ $(document).ready(function() {
608
608
609
609
610
610
// payment page
611
- $ ( '.uncheckAll' ) . click ( function ( ) {
612
- $ ( '.uncheckable' ) . attr ( 'checked' , false ) ;
613
- updatePayMe ( ) ;
614
- } ) ;
611
+ // $('.uncheckAll').click(function() {
612
+ // $('.uncheckable').attr('checked', false);
613
+ // updatePayMe();
614
+ // });
615
615
616
616
$ ( '.checkAll' ) . click ( function ( ) {
617
- $ ( '.checkable' ) . attr ( 'checked' , true ) ;
617
+ if ( this . checked ) {
618
+ $ ( '.checkable' ) . attr ( 'checked' , true ) ;
619
+ var total = calcTotalPayment ( )
620
+ if ( total > 25 ) {
621
+ $ ( '.bigRed' ) . prev ( ) . remove ( ) ;
622
+ $ ( '.bigRed' ) . remove ( ) ;
623
+ }
624
+ } else {
625
+ $ ( '.uncheckable' ) . attr ( 'checked' , false ) ;
626
+ }
618
627
updatePayMe ( ) ;
619
628
} ) ;
620
629
You can’t perform that action at this time.
0 commit comments