<commit_before>


<div id="main-wrapper" class="container">
                    <div class="row">
                        <div class="col-md-12">
                            <div class="panel panel-white">
                                <div class="panel-body">
                                 <?php
                                 error_reporting(0);
                                 if($h!='')
                                 {   ?>
                                  <center><label><h2>Update Order</h2></label></center>  
                                <div class="row m-b-lg">
                                    <form id="wizardForm" action="<?=(base_url().'sales_management/do_edit_order'.$h[0]->order_id)?>" method="post">
                            <?php    }

                            else
                            { ?>
                                <center><label><h2>Add Order</h2></label></center>  
                                <div class="row m-b-lg">
                                    <form id="wizardForm" action="<?=(base_url().'sales_management/do_add_order')?>" method="post">
                            <?php 
                            }
                             ?>
                                <div class="col-md-6">
                                    
                                        <div class="form-group col-md-12">
                                            <label>Title</label>
                                            <input type="text" class="form-control" id="exampleInputEmail1" name="order_title" placeholder="Title" required="" value="<?php echo $h[0]->order_title; ?>">
                                        </div>
                                        <div class="form-group col-md-12">
                                            <label>Name of Client</label>
                                            <input type="text" class="form-control" value="<?php echo $h[0]->client_name; ?>" id="exampleInputPassword1" name="client_name" placeholder="Name of Client" required="">
                                        </div>
                                        
                                        <div class="form-group col-md-12">
                                            <label>Order Cast</label>
                                            <input type="text" class="form-control" id="" value="<?php echo $h[0]->order_cost; ?>" name="order_cost" placeholder="Order Cast" required>
                                        </div>

                                      </div> 
                                  









                                        <div class="col-md-6">

                                            
                                        <div class="form-group col-md-12">
                                            <label>Start date</label>
                                            <input type="text" class="form-control date-picker" id="exampleInputEmail2" name="date1" value="<?php echo $h[0]->starting_date; ?>" placeholder="Enter Start date" required="">
                                        </div>

                                        <div class="form-group col-md-12">
                                            <label>End Date</label>
                                            <input type="text" class="form-control date-picker" id="exampleInputPassword2" name="date2" value="<?php echo $h[0]->proposed_ending_date; ?>" placeholder="Enter End date" required="">
                                        </div>
                                        <div class="form-group col-md-12">
                                            <label>Lead Name</label>
                                            <select  class="form-control" id="exampleInputEmail1" name="lead_id" required="">
                                                <option value="0">-select-</option>
                                                <?php<commit_msg>add the label name in add_order form<commit_after>


<div id="main-wrapper" class="container">
                    <div class="row">
                        <div class="col-md-12">
                            <div class="panel panel-white">
                                <div class="panel-body">
                                 <?php
                                 error_reporting(0);
                                 if($h!='')
                                 {   ?>
                                  <center><label><h2>Update Order</h2></label></center>  
                                <div class="row m-b-lg">
                                    <form id="wizardForm" action="<?=(base_url().'sales_management/do_edit_order'.$h[0]->order_id)?>" method="post">
                            <?php    }

                            else
                            { ?>
                                <center><label><h2>Add Order</h2></label></center>  
                                <div class="row m-b-lg">
                                    <form id="wizardForm" action="<?=(base_url().'sales_management/do_add_order')?>" method="post">
                            <?php 
                            }
                             ?>
                                <div class="col-md-6">
                                    
                                        <div class="form-group col-md-12">
                                            <label>Title</label>
                                            <input type="text" class="form-control" id="exampleInputEmail1" name="order_title" placeholder="Title" required="" value="<?php echo $h[0]->order_title; ?>">
                                        </div>
                                        <div class="form-group col-md-12">
                                            <label>Name of Client</label>
                                            <input type="text" class="form-control" value="<?php echo $h[0]->client_name; ?>" id="exampleInputPassword1" name="client_name" placeholder="Name of Client" required="">
                                        </div>
                                        
                                        <div class="form-group col-md-12">
                                            <label>Order Cost</label>
                                            <input type="text" class="form-control" id="" value="<?php echo $h[0]->order_cost; ?>" name="order_cost" placeholder="Order Cost" required>
                                        </div>

                                      </div> 
                                  









                                        <div class="col-md-6">

                                            
                                        <div class="form-group col-md-12">
                                            <label>Start date</label>
                                            <input type="text" class="form-control date-picker" id="exampleInputEmail2" name="date1" value="<?php echo $h[0]->starting_date; ?>" placeholder="Enter Start date" required="">
                                        </div>

                                        <div class="form-group col-md-12">
                                            <label>End Date</label>
                                            <input type="text" class="form-control date-picker" id="exampleInputPassword2" name="date2" value="<?php echo $h[0]->proposed_ending_date; ?>" placeholder="Enter End date" required="">
                                        </div>
                                        <div class="form-group col-md-12">
                                            <label>Lead Name</label>
                                            <select  class="form-control" id="exampleInputEmail1" name="lead_id" required="">
                                                <option value="0">-select-</option>
                                                <?php
{'fraction_non_alphanumeric': 0.11698255303125392, 'fraction_numerical': 0.008786243253420358, 'mean_word_length': 0.814620815304031, 'pattern_counts': {'":': 0, '<': 135, '<?xml version=': 0, '>': 145, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 116, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1542502', 'n_tokens_mistral': 1591, 'n_tokens_neox': 1526, 'n_words': 293}