updated
This commit is contained in:
@@ -289,9 +289,15 @@
|
||||
@if($template->Type == "Cake" && $template->Side == "Front" && $template->TemplateFormat == "svg")
|
||||
<canvas id="canvas_{{ $template->Type }}_{{ $template->Side }}" width="400px" height="400px" style="margin-top:60px; margin-left: -5px;"></canvas>
|
||||
@endif
|
||||
|
||||
@if($template->Type == "Cake" && $template->Side == "Back" && $template->TemplateFormat == "svg")
|
||||
<canvas id="canvas_{{ $template->Type }}_{{ $template->Side }}" width="400px" height="400px" style="margin-top:60px; margin-left: -5px;"></canvas>
|
||||
@endif
|
||||
|
||||
<!-- Mask All over Print -->
|
||||
@if($template->Type == "Mask" && $template->Side == "Front" && $template->TemplateFormat == "png")
|
||||
<canvas id="canvas_{{ $template->Type }}_{{ $template->Side }}" width="572px" height="502px" style="position:absolute; top: 50%; left: 50%;"></canvas>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -1036,7 +1042,7 @@
|
||||
var get_template_type = "{{ $template->Type }}";
|
||||
|
||||
// if((get_template_type != "Shirts") || (get_template_type != "Hoodie")){
|
||||
if(get_template_type != "Hoodie" && get_template_type != "Shirts" && get_template_type != "Cake" ){
|
||||
if(get_template_type != "Hoodie" && get_template_type != "Shirts" && get_template_type != "Cake" && get_template_type != "Mask" ){
|
||||
addDefaultTeamText();
|
||||
addNameNumber();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user