Plugin Directory

Changeset 2972812


Ignore:
Timestamp:
09/28/2023 07:48:09 PM (2 years ago)
Author:
mrdenny
Message:

1.33.4

  • Added javascript to the New Project page for the retainter checkbox
Location:
time-sheets
Files:
375 added
3 edited

Legend:

Unmodified
Added
Removed
  • time-sheets/trunk/manage-projects.php

    r2968936 r2972812  
    417417        $PONumber = isset($_GET['po_number']) ? $common->esc_textarea($_GET['po_number']) : "";
    418418
    419         echo "<form method='GET'>
     419        echo "<form method='GET' name='projectprops'>
    420420            <input type='hidden' value='timesheet_manage_clients' name='page'>
    421421            <input type='hidden' value='New Project' name='menu'>
     
    447447            $frequencies = $db->get_results($sql);
    448448
    449             echo "<tr><td colspan='2'>Is Retainer Project <input type='checkbox' name='IsRetainer' value='1'{$IsRetainer}></td><tr>
     449            echo "<tr><td colspan='2'>Is Retainer Project <input type='checkbox' name='IsRetainer' value='1'{$IsRetainer} onClick='disableMaxHours()'></td><tr>
    450450            <tr><td>Retainer Interval</td><td>
    451451                <select name='retainer_id'>
     
    484484            echo "</td></tr>
    485485            </table>";
     486            $this->ProjectJS();
    486487    }
    487488
     
    724725                echo "<input type='hidden' name='MaxHours' value='{$project->MaxHours}'>";
    725726            }
    726             echo "</form>
    727 <script>
     727            echo "</form>";
     728            $this->ProjectJS();
     729        }
     730
     731    }
     732
     733    function ProjectJS() {
     734    echo "<script>
    728735function disableMaxHours() {
    729736    if (projectprops.IsRetainer.checked==true) {
     
    745752</script>
    746753";
    747         }
    748 
    749754    }
    750755
  • time-sheets/trunk/readme.txt

    r2969957 r2972812  
    113113== Changelog ==
    114114
     115= 1.33.4 =
     116* Added javascript to the New Project page for the retainter checkbox
     117
    115118= 1.33.3 =
    116 * Fixing issue with the notes for project not being copied from the client level to the project level correctly.
     119* Fixing issue with the notes for project not being copied from the client level to the project level correctly
    117120
    118121= 1.33.2 =
  • time-sheets/trunk/time-sheets.php

    r2969957 r2972812  
    22/*
    33Plugin Name: Time Sheets
    4 Version: 1.33.3
     4Version: 1.33.4
    55Plugin URI: https://www.dcac.com/go/time-sheets
    66Description: Time Sheets application
Note: See TracChangeset for help on using the changeset viewer.