updated prod
0
Dockerfile
Normal file → Executable file
@@ -499,6 +499,30 @@ class TeamStoreController extends Controller
|
|||||||
'ShippingCostId' => $shipping_cost_id
|
'ShippingCostId' => $shipping_cost_id
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
} elseif ($product_form == "number-size-form") {
|
||||||
|
|
||||||
|
// $order_names = $post['order_names'];
|
||||||
|
$order_number = $post['order_number'];
|
||||||
|
$order_size = $post['order_size'];
|
||||||
|
|
||||||
|
foreach ($order_size as $key => $val) {
|
||||||
|
$items[] = array(
|
||||||
|
'ProductId' => $product_id,
|
||||||
|
'StoreURL' => $store_url,
|
||||||
|
'StoreId' => $store_id,
|
||||||
|
'FormUsed' => $product_form,
|
||||||
|
'CartKey' => $cartKey,
|
||||||
|
'DesignCode' => $design_code,
|
||||||
|
'ProductURL' => $ProductURL,
|
||||||
|
'ProductName' => $product_name,
|
||||||
|
'Name' => $product_name,
|
||||||
|
'Size' => $order_size[$key],
|
||||||
|
'Number' => $order_number[$key],
|
||||||
|
'Price' => $ProductPrice,
|
||||||
|
'Quantity' => 1,
|
||||||
|
'ShippingCostId' => $shipping_cost_id
|
||||||
|
);
|
||||||
|
}
|
||||||
} elseif ($product_form == "number-form") {
|
} elseif ($product_form == "number-form") {
|
||||||
|
|
||||||
$order_number = $post['order_number'];
|
$order_number = $post['order_number'];
|
||||||
|
|||||||
@@ -46,6 +46,9 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"preferred-install": "dist"
|
"preferred-install": "dist",
|
||||||
|
"allow-plugins": {
|
||||||
|
"kylekatarnls/update-helper": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
0
docker-compose.yml
Normal file → Executable file
0
favicon.ico
Normal file → Executable file
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
0
nginx/conf.d/app.conf
Normal file → Executable file
0
php/local.ini
Normal file → Executable file
0
public/api/canada.json
Normal file → Executable file
0
public/api/usa.json
Normal file → Executable file
0
public/api/usaCities.old.json
Normal file → Executable file
0
public/assets/css/jquery-ui.css
vendored
Normal file → Executable file
0
public/assets/files/Terms of Use.pdf
Normal file → Executable file
0
public/assets/js/jquery-ui.js
vendored
Normal file → Executable file
0
public/images/MERCHBAY-LOGO.png
Normal file → Executable file
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
0
public/images/merchbay-black.png
Normal file → Executable file
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
0
public/images/merchbay-white.png
Normal file → Executable file
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
0
resources/views/designer/vue_designer.blade.php
Normal file → Executable file
0
resources/views/emails/contact_us.blade.php
Normal file → Executable file
@@ -540,6 +540,13 @@
|
|||||||
<td><b>Price</b></td>
|
<td><b>Price</b></td>
|
||||||
<td><b>Quantity</b></td>
|
<td><b>Quantity</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@elseif($item->FormUsed == 'number-size-form')
|
||||||
|
<tr>
|
||||||
|
<td><b>Number</b></td>
|
||||||
|
<td><b>Size</b></td>
|
||||||
|
<td><b>Price</b></td>
|
||||||
|
<td><b>Quantity</b></td>
|
||||||
|
</tr>
|
||||||
@else
|
@else
|
||||||
@endif
|
@endif
|
||||||
<!-- table header -->
|
<!-- table header -->
|
||||||
@@ -666,6 +673,17 @@
|
|||||||
<td>{{ $sub_item->Quantity }}
|
<td>{{ $sub_item->Quantity }}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@elseif($item->FormUsed == 'number-size-form')
|
||||||
|
<tr>
|
||||||
|
<td>{{ $sub_item->Number }}
|
||||||
|
</td>
|
||||||
|
<td>{{ $sub_item->Size }}
|
||||||
|
</td>
|
||||||
|
<td>{{ $sub_item->Price }}
|
||||||
|
</td>
|
||||||
|
<td>{{ $sub_item->Quantity }}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
@else
|
@else
|
||||||
@endif
|
@endif
|
||||||
@endif
|
@endif
|
||||||
|
|||||||
0
resources/views/errors/404.blade.php
Normal file → Executable file
@@ -174,6 +174,15 @@
|
|||||||
<th>Quantity</th>
|
<th>Quantity</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
|
@elseif($item->FormUsed == 'number-size-form')
|
||||||
|
<tr>
|
||||||
|
<th>Number</th>
|
||||||
|
<th>Size</th>
|
||||||
|
<th>Price</th>
|
||||||
|
<th>Quantity</th>
|
||||||
|
<th></th>
|
||||||
|
</tr>
|
||||||
|
|
||||||
@else
|
@else
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@@ -296,6 +305,17 @@
|
|||||||
href="{{ url('removeitem') }}/{{ $sub_item->Id }}"><i
|
href="{{ url('removeitem') }}/{{ $sub_item->Id }}"><i
|
||||||
class="fa fa-times"></i></a></td>
|
class="fa fa-times"></i></a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@elseif($item->FormUsed == 'number-size-form')
|
||||||
|
<tr>
|
||||||
|
<td>{{ $sub_item->Number }}</td>
|
||||||
|
<td>{{ $sub_item->Size }}</td>
|
||||||
|
<td>{{ $sub_item->Price . ' ' . $store_array[0]->StoreCurrency }}
|
||||||
|
</td>
|
||||||
|
<td>{{ $sub_item->Quantity }}</td>
|
||||||
|
<td><a class="btn btn-xs btn-link pull-right"
|
||||||
|
href="{{ url('removeitem') }}/{{ $sub_item->Id }}"><i
|
||||||
|
class="fa fa-times"></i></a></td>
|
||||||
|
</tr>
|
||||||
@else
|
@else
|
||||||
@endif
|
@endif
|
||||||
@endif
|
@endif
|
||||||
|
|||||||
0
resources/views/merchbay/not_found.blade.php
Normal file → Executable file
0
resources/views/merchbay/privacy_policy.blade.php
Normal file → Executable file
0
resources/views/merchbay/terms_of_use.blade.php
Normal file → Executable file
0
resources/views/merchbay/track_order.blade.php
Normal file → Executable file
0
resources/views/paypal/payment_success.blade.php
Normal file → Executable file
45
resources/views/teamstore-sublayouts/forms/number-size-form.blade.php
Executable file
@@ -0,0 +1,45 @@
|
|||||||
|
|
||||||
|
<div class="panel-design-details" id="orderListPanel">
|
||||||
|
<table class="table" id="tableRow" style="font-size:12px;">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<!-- <th>#</th> -->
|
||||||
|
{{-- <th class="col-md-5">Name</th> --}}
|
||||||
|
<th class="col-md-6">Number</th>
|
||||||
|
<th class="col-md-5">Size</th>
|
||||||
|
<th class="text-center"></th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody id="orderTableBody">
|
||||||
|
<tr class="table-tr-0">
|
||||||
|
{{-- <td>
|
||||||
|
<input type="text" name="order_names[]" id="order_names" class="form-control input-sm inputName roster-input" placeholder="Name">
|
||||||
|
</td> --}}
|
||||||
|
<td>
|
||||||
|
<select class="form-control input-sm roster-input" name="order_number[]">
|
||||||
|
<option value="none">none</option>
|
||||||
|
@for($i = 0; $i <= 99; $i++)
|
||||||
|
<option value="{{ $i }}">{{ $i }}</option>
|
||||||
|
@endfor
|
||||||
|
<option value="00">00</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<select class="form-control input-sm order-size roster-input" name="order_size[]" style="border-right: 1px solid #ccc;" data-row-number="1">
|
||||||
|
@foreach($sizes_array as $size)
|
||||||
|
<option value="{{ $size->Size }}">{{ $size->SizeDisplay }}</option>
|
||||||
|
@endforeach
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
<td id="action-column" class="text-center" style="padding: 4px !important; border-top: none">
|
||||||
|
<span class="tr-remove-btn">
|
||||||
|
<button type="button" id="addNewRow" class="btn btn-success btn-sm btn-roster-action" data-toggle="tooltip" title="Add Another"><i class="fa fa-plus" aria-hidden="true"></i></button>
|
||||||
|
</span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<div id="addnew-btn-tbl-row">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
0
resources/views/teamstore-sublayouts/forms/roster-name-number-size-form.blade.php
Normal file → Executable file
@@ -102,6 +102,7 @@
|
|||||||
<option value="name-size-form">Name and Size Form</option>
|
<option value="name-size-form">Name and Size Form</option>
|
||||||
<option value="jersey-and-shorts-quantity-form">Jersey, Shorts and Quantity Form</option>
|
<option value="jersey-and-shorts-quantity-form">Jersey, Shorts and Quantity Form</option>
|
||||||
<option value="number-jersey-shorts-form">Number, Jersey and Shorts Form</option>
|
<option value="number-jersey-shorts-form">Number, Jersey and Shorts Form</option>
|
||||||
|
<option value="number-size-form">Number and Size Form</option>
|
||||||
<option value="roster-name-number-size-form">Roster and Size Form</option>
|
<option value="roster-name-number-size-form">Roster and Size Form</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -125,7 +125,8 @@
|
|||||||
<option value="tshirt-form">T-Shirt Form</option>
|
<option value="tshirt-form">T-Shirt Form</option>
|
||||||
<option value="quantity-form">Quantity Form</option>
|
<option value="quantity-form">Quantity Form</option>
|
||||||
<option value="name-and-number-form">Name and Number Form</option>
|
<option value="name-and-number-form">Name and Number Form</option>
|
||||||
<option value="name-number-size-form">Name, Number and Size Form</option>
|
<option value="name-and-number-form">Name and Number Form</option>
|
||||||
|
<option value="number-size-form">Number and Size Form</option>
|
||||||
<option value="number-form">Number Only Form</option>
|
<option value="number-form">Number Only Form</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -114,6 +114,13 @@
|
|||||||
<th>Price</th>
|
<th>Price</th>
|
||||||
<th>Quantity</th>
|
<th>Quantity</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
@elseif($array_item[0]->FormUsed=="number-size-form")
|
||||||
|
<tr>
|
||||||
|
<th>Number</th>
|
||||||
|
<th>Size</th>
|
||||||
|
<th>Price</th>
|
||||||
|
<th>Quantity</th>
|
||||||
|
</tr>
|
||||||
@else
|
@else
|
||||||
|
|
||||||
@endif
|
@endif
|
||||||
@@ -195,6 +202,13 @@
|
|||||||
<td>{{ $array_item[0]->Price . ' ' . $store_array[0]->StoreCurrency }}</td>
|
<td>{{ $array_item[0]->Price . ' ' . $store_array[0]->StoreCurrency }}</td>
|
||||||
<td>{{ $array_item[0]->Quantity }}</td>
|
<td>{{ $array_item[0]->Quantity }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@elseif($array_item[0]->FormUsed=="number-size-form")
|
||||||
|
<tr>
|
||||||
|
<td>{{ $array_item[0]->Number }}</td>
|
||||||
|
<td>{{ $array_item[0]->Size }}</td>
|
||||||
|
<td>{{ $array_item[0]->Price . ' ' . $store_array[0]->StoreCurrency }}</td>
|
||||||
|
<td>{{ $array_item[0]->Quantity }}</td>
|
||||||
|
</tr>
|
||||||
@else
|
@else
|
||||||
|
|
||||||
@endif
|
@endif
|
||||||
|
|||||||
@@ -158,6 +158,14 @@
|
|||||||
<th>Quantity</th>
|
<th>Quantity</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
|
@elseif($item->FormUsed=="number-size-form")
|
||||||
|
<tr>
|
||||||
|
<th>Number</th>
|
||||||
|
<th>Size</th>
|
||||||
|
<th>Price</th>
|
||||||
|
<th>Quantity</th>
|
||||||
|
<th></th>
|
||||||
|
</tr>
|
||||||
@else
|
@else
|
||||||
|
|
||||||
@endif
|
@endif
|
||||||
@@ -219,6 +227,13 @@
|
|||||||
<td>{{ $sub_item->Price . ' ' . $array_payment_details[0]->Currency }}</td>
|
<td>{{ $sub_item->Price . ' ' . $array_payment_details[0]->Currency }}</td>
|
||||||
<td>{{ $sub_item->Quantity }}</td>
|
<td>{{ $sub_item->Quantity }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@elseif($item->FormUsed=="number-size-form")
|
||||||
|
<tr>
|
||||||
|
<td>{{ $sub_item->Number }}</td>
|
||||||
|
<td>{{ $sub_item->Size }}</td>
|
||||||
|
<td>{{ $sub_item->Price . ' ' . $array_payment_details[0]->Currency }}</td>
|
||||||
|
<td>{{ $sub_item->Quantity }}</td>
|
||||||
|
</tr>
|
||||||
@else
|
@else
|
||||||
|
|
||||||
@endif
|
@endif
|
||||||
|
|||||||
@@ -127,6 +127,7 @@
|
|||||||
<option value="name-and-number-form">Name and Number Form</option>
|
<option value="name-and-number-form">Name and Number Form</option>
|
||||||
<option value="name-number-size-form">Name, Number and Size Form</option>
|
<option value="name-number-size-form">Name, Number and Size Form</option>
|
||||||
<option value="number-form">Number Only Form</option>
|
<option value="number-form">Number Only Form</option>
|
||||||
|
<option value="number-size-eform">Number and Size Form</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
|||||||
@@ -129,6 +129,7 @@
|
|||||||
<option value="quantity-form" @if($product_array[0]->ProductForm == "quantity-form") selected @endif>Quantity Form</option>
|
<option value="quantity-form" @if($product_array[0]->ProductForm == "quantity-form") selected @endif>Quantity Form</option>
|
||||||
<option value="name-number-form" @if($product_array[0]->ProductForm == "name-number-form") selected @endif>Name and Number Form</option>
|
<option value="name-number-form" @if($product_array[0]->ProductForm == "name-number-form") selected @endif>Name and Number Form</option>
|
||||||
<option value="name-number-size-form" @if($product_array[0]->ProductForm == "name-number-size-form") selected @endif>Name, Number and Size Form</option>
|
<option value="name-number-size-form" @if($product_array[0]->ProductForm == "name-number-size-form") selected @endif>Name, Number and Size Form</option>
|
||||||
|
<option value="number-size-form" @if($product_array[0]->ProductForm == "number-size-form") selected @endif>Number and Size Form</option>
|
||||||
<option value="number-form" @if($product_array[0]->ProductForm == "number-form") selected @endif>Number Only Form</option>
|
<option value="number-form" @if($product_array[0]->ProductForm == "number-form") selected @endif>Number Only Form</option>
|
||||||
<option value="name-size-form" @if($product_array[0]->ProductForm == "name-size-form") selected @endif>Name and Size Form</option>
|
<option value="name-size-form" @if($product_array[0]->ProductForm == "name-size-form") selected @endif>Name and Size Form</option>
|
||||||
<option value="jersey-and-shorts-quantity-form" @if($product_array[0]->ProductForm == "jersey-and-shorts-quantity-form") selected @endif>Jersey, Shorts and Quantity Form</option>
|
<option value="jersey-and-shorts-quantity-form" @if($product_array[0]->ProductForm == "jersey-and-shorts-quantity-form") selected @endif>Jersey, Shorts and Quantity Form</option>
|
||||||
|
|||||||