Subversion Repositories SmartDukaan

Rev

Rev 31151 | Rev 33797 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 31151 Rev 33795
Line -... Line 1...
-
 
1
<style>
-
 
2
    #offerItemTable td, #offerItemTable th {
-
 
3
        padding: 2px;
1
   
4
    }
-
 
5
</style>
2
<script type="text/javascript">
6
<script type="text/javascript">
3
    $(function () {
7
    $(function () {
4
             $('input[name="expiredEndDate"]').daterangepicker(getSingleDatePicker());
8
             $('input[name="expiredEndDate"]').daterangepicker(getSingleDatePicker());
5
              $('input[name="offerItemDuration"]').daterangepicker(getRangedDatePicker());
9
              $('input[name="offerItemDuration"]').daterangepicker(getRangedDatePicker());
6
   
10
   
Line 26... Line 30...
26
 
30
 
27
    });
31
    });
28
 
32
 
29
</script>
33
</script>
30
 <div class="modal-header">
34
 <div class="modal-header">
31
	        <button type="button" class="close" data-dismiss="modal">&times;</button>
35
     <button type="button" class="close" data-dismiss="modal">&times;</button>
32
	        <h4 class="modal-title">Customer Offer Item
36
     <h4 class="modal-title">Customer Offer Item
33
	        </h4>
37
     </h4>
34
       </div>
38
 </div>
35
  <div class="modal-body" style="height:400px;overflow:auto;">
-
 
36
  
-
 
37
      <div class="row">
-
 
38
 
-
 
39
 
39
 
40
 
-
 
-
 
40
  <div class="modal-body" style="height:400px;overflow:auto;">
41
      <div class="form-group col-lg-3">
41
      <div class="row" style="margin: 0;">
42
            <label for="Item">Item</label>
42
          <table style="width: 100%;" id="offerItemTable">
43
       
43
              <tr>
-
 
44
                  <td>
-
 
45
                      <div class="form-group">
-
 
46
                          <label for="Item">Item</label>
44
                     <input type="text" class="typeahead form-control" id="catalog-search-text" name="Item" data-provide="typeahead" autocomplete="off" value="" style ="
47
                          <input type="text" class="typeahead form-control" id="catalog-search-text" name="Item"
-
 
48
                                 data-provide="typeahead" autocomplete="off" value="" style="
45
                        width: 200px;" placeholder="Search for product..."/>
49
                        width: 200px;" placeholder="Search for product..."/>
46
	                
50
                      </div>
47
          
51
                  </td>
48
        </div>
52
                  <td>
49
        
-
 
50
       <div class="form-group col-lg-2">
53
                      <div class="form-group">
51
            <label for="offerItemDuration">Duration</label>
54
                          <label for="offerItemDuration">Duration</label>
52
            <input placeholder="Set Duration" name="offerItemDuration" id="offerItemDuration" name="dateRange"
55
                          <input placeholder="Set Duration" name="offerItemDuration" id="offerItemDuration"
-
 
56
                                 name="dateRange"
53
                   type="text" value="" class="form-control input-sm">
57
                                 type="text" value="" class="form-control input-sm">
54
        </div>
58
                      </div>
-
 
59
                  </td>
-
 
60
                  <td>
55
        <div class="form-group col-lg-2">
61
                      <div class="form-group">
56
            <label for="schemePayout">Scheme Payout</label>
62
                          <label for="schemePayout">Scheme Payout</label>
57
            <input placeholder="Scheme Payout" name="schemePayout" id="schemePayout"
63
                          <input placeholder="Scheme Payout" name="schemePayout" id="schemePayout"
58
                   type="text" value="" class="form-control input-sm">
64
                                 type="text" value="" class="form-control input-sm">
59
        </div>
65
                      </div>
-
 
66
                  </td>
60
        
67
                  <td>
61
        <div class="form-group col-lg-2">
68
                      <div class="form-group">
62
            <label for="dealerPayout">Dealer Payout</label>
69
                          <label for="dealerPayout">Dealer Payout</label>
63
            <input placeholder="Dealer Payout" name="dealerPayout" id="dealerPayout"
70
                          <input placeholder="Dealer Payout" name="dealerPayout" id="dealerPayout"
64
                   type="text" value="" class="form-control input-sm">
71
                                 type="text" value="" class="form-control input-sm">
65
        </div>
72
                      </div>
66
 
-
 
67
 
-
 
-
 
73
                  </td>
-
 
74
                  <td>
-
 
75
                      <div class="form-group">
-
 
76
                          <label for="offerType">Offer Type</label>
-
 
77
                          <select class="form-control input-sm" name="offerType" id="offerType">
-
 
78
                              <option value="">Choose</option>
-
 
79
                              #foreach($type in $offerTypes)
-
 
80
                                  <option value="$type">$type</option>
-
 
81
                              #end
-
 
82
                          </select>
-
 
83
                      </div>
-
 
84
                  </td>
-
 
85
                  <td>
68
        <div class="form-groupcol-lg-2" style="margin-top:20px">
86
                      <div class="form-group" style="margin-top:25px;">
69
 
87
 
70
            <input type="button" class="btn btn-default addOfferItem"  data-offerid="$offerId"
88
                          <input type="button" class="btn btn-default addOfferItem" data-offerid="$offerId"
71
                   value="Create">
89
                                 value="Create">
-
 
90
                      </div>
-
 
91
                  </td>
-
 
92
              </tr>
72
        </div>
93
          </table>
73
    </div>
94
    </div>
-
 
95
 
74
    <div class = "row">
96
    <div class = "row">
75
    <div class="col-lg-12">
97
    <div class="col-lg-12">
76
        <table class="table table-border table-condensed table-bordered" id="offer-item-table" style="width:100%">
98
        <table class="table table-border table-condensed table-bordered" id="offer-item-table" style="width:100%">
77
 
99
 
78
            <thead style="background:#F5F5F5;">
100
            <thead style="background:#F5F5F5;">
Line 80... Line 102...
80
            <tr>
102
            <tr>
81
                <th>Id</th>
103
                <th>Id</th>
82
                <th>Catalog Id</th>
104
                <th>Catalog Id</th>
83
                <th>Item Name</th>
105
                <th>Item Name</th>
84
                <th>Scheme Payout</th> 
106
                <th>Scheme Payout</th> 
85
                <th>Dealer Payout</th>  
107
                <th>Dealer Payout</th>
-
 
108
                <th>Offer Type</th>
86
                <th>Start Date</th>
109
                <th>Start Date</th>
87
                <th>Expired Date</th>
110
                <th>Expired Date</th>
88
                <th>Mark Expired</th>
111
                <th>Mark Expired</th>
89
 
112
 
90
            </tr>
113
            </tr>