add currency for teamstore

This commit is contained in:
Frank John Begornia
2019-08-19 21:37:47 +08:00
parent e60bb3baf8
commit b7e81adf31
68 changed files with 9977 additions and 442 deletions

View File

@@ -672,8 +672,7 @@
<button type="button" class="btn btn-lg btn-primary pull-right" data-toggle="modal" data-target="#modalLogin"><i class="fa fa-floppy-o" aria-hidden="true"></i> Save Design</button>
</div>
@else
<button type="button" class="btn btn-lg btn-primary pull-right" data-toggle="modal" data-target="#modalDesignName"><i class="fa fa-floppy-o" aria-hidden="true"></i> Save Design</button>
<button type="button" class="btn btn-lg btn-primary pull-right" data-toggle="modal" data-target="#modalDesignName"><i class="fa fa-floppy-o" aria-hidden="true"></i> Save Design</button>
@endif
</div>
@@ -685,6 +684,7 @@
</div>
</div>
</div>
<!-- modals -->
<div class="modal fade" id="fontsModal" role="dialog">
<div class="modal-dialog modal-lg">
@@ -835,7 +835,7 @@
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/fabric.js/1.7.15/fabric.min.js"></script>
<script src="https://rawgit.com/EffEPi/fabric.curvedText/master/fabric.curvedText.js"></script>
<!-- <script src="https://rawgit.com/EffEPi/fabric.curvedText/master/fabric.curvedText.js"></script> -->
<script src="{{asset('/public/designer/js/spectrum.js')}}"></script>
<script src="{{asset('/public/designer/js/custom-script.js')}}"></script>
@@ -846,6 +846,13 @@
<script>
$(document).ready(function() {
$.getJSON("{{asset('/public/designer/palette.json') }}", callbackFuncWithData);
function callbackFuncWithData(data){
console.log(data)
}
myCart();
$('#toTop').click(function() {
@@ -1000,9 +1007,13 @@
colorPickerCustom();
templateColors('{{ $template_arrays[0]->TemplateCode }}');
loadClipartContent();
var get_template_type = "{{ $template->Type }}";
if(get_template_type != "Shirts"){
addDefaultTeamText();
addNameNumber();
}
// addDefaultTeamText();
// addNameNumber();
// onDeSelected();
// end call
@@ -2727,7 +2738,7 @@
function addLastName(){
var defaultName = "LASTNAME";
var defaultName = "PLAYER";
var currentCount = +$("#countbtn").val() + 1;
$('#countbtn').val(currentCount);
@@ -2861,7 +2872,7 @@
function addNameNumber() {
var defaultNumber = "00";
var defaultName = "LASTNAME";
var defaultName = "PLAYER";
$('#countbtn').val("5");
$('#NameNumberId').html('');
@@ -2871,6 +2882,7 @@
top: 114.85 , // 94.35 for the default
fontSize: 75.00, // 71.25 for default font size. equivalent 2.5"
fill: '#000000',
fontFamily: 'Athletic Regular',
textAlign: 'center',
padding: 0,
//spacing: 20,
@@ -2892,6 +2904,7 @@
top: 84.35, // 94.35 for the default
fontSize: 175.00, // 71.25 for default font size. equivalent 2.5"
fill: '#000000',
fontFamily: 'Athletic Regular',
textAlign: 'center',
padding: 0,
//spacing: 20,
@@ -2913,6 +2926,7 @@
top: 50.28 , // 94.35 for the default
fontSize: 32.50, // 71.25 for default font size. equivalent 2.5"
fill: '#000000',
fontFamily: 'Athletic Regular',
textAlign: 'center',
padding: 0,
//spacing: 20,
@@ -2935,6 +2949,7 @@
fontSize: 62.50, // 71.25 for default font size. equivalent 2.5"
//height: fabric.util.parseUnit('1in'),
fill: '#000000',
fontFamily: 'Athletic Regular',
textAlign: 'center',
padding: 0,
//spacing: 20,
@@ -2958,6 +2973,7 @@
//height: fabric.util.parseUnit('1in'),
fill: '#000000',
textAlign: 'center',
fontFamily: 'Athletic Regular',
padding: 0,
//spacing: 20,
stroke: null,
@@ -3025,6 +3041,7 @@
fontSize: 50.00, // 71.25 for default font size. equivalent 2.5"
//height: fabric.util.parseUnit('1in'),
fill: '#000000',
fontFamily: 'Athletic Regular',
textAlign: 'center',
padding: 0,
//spacing: 20,
@@ -3447,9 +3464,11 @@
// alert("dadas");
// console.log();
},
beforeShow: function () {
},
hide: function (color) {
var onHideColor = color.toHexString(); // #ff0000
var SideAndPath = {!! json_encode($templatepaths_arrays) !!};
@@ -3479,6 +3498,7 @@
},
change: function(color) {
var onChangeColor = color.toHexString(); // #ff0000
@@ -3510,7 +3530,8 @@
$('#body-color-type').val('Solid');
},
palette: [
"palette": [
["rgb(38, 38, 38)", "rgb(102, 102, 102)", "rgb(68, 69, 79)", "rgb(255, 255, 255)"],
["rgb(77, 20, 8)", "rgb(0, 75, 43)", "rgb(0, 135, 81)", "rgb(0, 111, 175)"],
["rgb(0, 95, 111)", "rgb(16, 34, 64)", "rgb(66, 128, 206)", "rgb(17, 43, 155)"],