added new form for store item

This commit is contained in:
franknstayn
2020-03-19 22:39:07 +08:00
parent 6d9282f646
commit 051d1ec5c9
3 changed files with 128 additions and 38 deletions

View File

@@ -114,7 +114,6 @@
<th>Price</th>
<th>Quantity</th>
<th></th>
<!-- <th></th> -->
</tr>
@elseif($item->FormUsed=="tshirt-form")
<tr>
@@ -122,7 +121,6 @@
<th>Price</th>
<th>Quantity</th>
<th></th>
</tr>
@elseif($item->FormUsed=="quantity-form")
@@ -147,7 +145,15 @@
<th>Price</th>
<th>Quantity</th>
<th></th>
</tr>
</tr>
@elseif($item->FormUsed=="name-name2-size-form")
<tr>
<th>Gamer Tag</th>
<th>Name</th>
<th>Size</th>
<th>Price</th>
<th>Quantity</th>
</tr>
@elseif($item->FormUsed=="number-form")
<tr>
<th>Number</th>
@@ -168,6 +174,14 @@
<th>Price</th>
<th>Quantity</th>
</tr>
@elseif($item->FormUsed=="number-jersey-shorts-form")
<tr>
<th>Number</th>
<th>Jersey Size</th>
<th>Shorts Size</th>
<th>Price</th>
<th>Quantity</th>
</tr>
@else
@endif
@@ -226,6 +240,14 @@
<td>{{ $sub_item->Price }}</td>
<td>{{ $sub_item->Quantity }}</td>
</tr>
@elseif($item->FormUsed=="name-name2-size-form")
<tr>
<td>{{ $sub_item->Name }}</td>
<td>{{ $sub_item->Name2 }}</td>
<td>{{ $sub_item->Size }}</td>
<td>{{ $sub_item->Price }}</td>
<td>{{ $sub_item->Quantity }}</td>
</tr>
@elseif($item->FormUsed=="name-size-form")
<tr>
<td>{{ $sub_item->Name }}</td>
@@ -240,6 +262,14 @@
<td>{{ $sub_item->Price }}</td>
<td>{{ $sub_item->Quantity }}</td>
</tr>
@elseif($item->FormUsed=="number-jersey-shorts-form")
<tr>
<td>{{ $sub_item->Number }}</td>
<td>{{ $sub_item->JerseySize }}</td>
<td>{{ $sub_item->ShortsSize }}</td>
<td>{{ $sub_item->Price }}</td>
<td>{{ $sub_item->Quantity }}</td>
</tr>
@else
@endif