add download button

This commit is contained in:
franknstayn
2020-02-19 00:56:31 +08:00
parent 0fe861ccd7
commit 804264e977
2 changed files with 2 additions and 2 deletions

View File

@@ -69,7 +69,6 @@
<th>Number</th>
<th>Price</th>
<th>Quantity</th>
<th></th>
</tr>
@elseif($array_item[0]->FormUsed=="name-number-size-form")
<tr>
@@ -119,7 +118,6 @@
<td>{{ $array_item[0]->Number }}</td>
<td>{{ $array_item[0]->Price }}</td>
<td>{{ $array_item[0]->Quantity }}</td>
<td><a href="{{ url('admin/orders/download/tshirt' . '/' . $array_item[0]->DesignCode . '/' . $array_item[0]->Id )}}" class="btn btn-xs btn-primary"><i class="fa fa-download"></i> Download Print File</a></td>
</tr>
@elseif($array_item[0]->FormUsed=="name-number-size-form")

View File

@@ -146,6 +146,7 @@
<th>Size</th>
<th>Price</th>
<th>Quantity</th>
<th></th>
</tr>
@elseif($item->FormUsed=="number-form")
<tr>
@@ -195,6 +196,7 @@
<td>{{ $sub_item->Number }}</td>
<td>{{ $sub_item->Price }}</td>
<td>{{ $sub_item->Quantity }}</td>
<td><a href="{{ url('admin/orders/download/tshirt' . '/' . $sub_item->DesignCode . '/' . $sub_item->Id )}}" class="btn btn-xs btn-primary"><i class="fa fa-download"></i> Download Print File</a></td>
</tr>
@elseif($item->FormUsed=="name-number-size-form")