first commit

This commit is contained in:
franknstayn
2021-07-03 18:39:08 +08:00
commit 5483c9517d
1555 changed files with 417773 additions and 0 deletions

View File

@@ -0,0 +1,150 @@
@extends('user-layouts.user_template')
@section('content')
<style>
.hide-bullets {
list-style:none;
margin-left: -40px;
margin-top:20px;
}
</style>
<div class="content-wrapper" style="min-height: 916px;">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Add Store Item
</h1>
<ol class="breadcrumb">
<li><a href="{{ url('user') }}"><i class="fa fa-home"></i> Home</a></li>
<li><a href="{{ url('user/store-items') }}"><i class="fa fa-th"></i> Store Items</a></li>
<li class="active">Add new Item</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<form id="frm-add-item">
<div class="row">
<div class="col-md-7">
<div class="box box-primary">
<div class="box-body custom-box-body">
<div class="row">
<div class="col-md-12" id="main_thumbnail_uploader">
<div style="min-height:500px;">
<input type="file" id="imgupload" name="imgupload[]" style="display:none;" multiple accept="image/*"/>
<a href="#" id="OpenImgUpload" style="position:absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);" >
<img class="img img-responsive product-center " style="height: 65.45px;" src="{{ asset('/public/images/add-new-img.svg') }}"/>
<div class="text-center"> Add item image(s)</div>
<!-- <div class="gallery"></div> -->
</a>
</div>
</div>
<!-- image preview -->
<div class="col-md-12" id="upload_thumbnail_preview" style="display:none;">
<div class="row">
<div class="col-md-12 text-center">
<img style="height:400px" src="#" id="main-thumbnail">
</div>
</div>
<div class="row">
<div class="col-md-12">
<ul class="hide-bullets small-preview-thumb">
<!-- <li class="col-sm-3 col-xs-3">
<a href="#" class="text-center thumbnail a_thumbnail" id="OpenImgUpload2">
<i style="font-size: 70px;" class="fa fa-picture-o"></i>
<div class="text-center"> Add more image(s)</div>
</a>
</li> -->
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-5">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">
Item Details
</h3>
</div>
<div class="box-body custom-box-body">
<div class="row">
<div class="col-md-12">
<input type="hidden" class="form-control" name="templateCode" value="manual_upload">
<input type="hidden" class="form-control" name="designCode" value="manual_upload">
<div class="form-group">
<div id="add_item_response_msg"></div>
</div>
<div class="form-group">
<label>Item Name</label>
<input type="text" class="form-control" id="itemName" name="itemName" placeholder="Item Name">
</div>
<div class="form-group">
<label>Item Desription</label>
<textarea class="form-control" name="itemDescription"></textarea>
</div>
<div class="form-group">
<label>Item Price</label>
<input id="item_price" name="itemPrice" class="form-control price_format" value="0.00" type="text" data-error="#err-price" />
</div>
<div class="form-group">
<label>Item Form</label>
<select class="form-control" name="itemForm">
<option value="jersey-and-shorts-form">Jersey and Shorts Form</option>
<option value="tshirt-form">T-Shirt Form</option>
<option value="quantity-form">Quantity Form</option>
<option value="name-number-form">Name and Number Form</option>
<option value="name-number-size-form">Name, Number and Size Form</option>
<option value="number-form">Number Only 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="number-jersey-shorts-form">Number, Jersey and Shorts Form</option>
</select>
</div>
<div class="form-group">
<label>Item URL</label>
<input type="text" class="form-control" id="product_url" name="itemUrl" placeholder="Item URL">
<!-- <div class="input-group">
<span class="input-group-addon" id="basic-addon3">{{ url() . "/teamstore/" . $store_array[0]->StoreUrl . '/'}}</span>
<input type="text" class="form-control" id="product_url" name="itemUrl" aria-describedby="basic-addon3" data-error="#err-itemUrl" >
</div>
<span id="err-itemUrl"></span> -->
</div>
<div class="form-group">
<label>Available Size</label>
<select class="form-control select2" data-error="#err_available_size" data-placeholder="Select Size" name="available_size[]" multiple="multiple" required>
<option value="toddler">Toddler</option>
<option value="youth">Youth</option>
<option value="adult">Adult</option>
<option value="mask">Mask</option>
<option value="gaiter">Gaiter</option>
<option value="buckethat">Buckethat</option>
<option value="none">None</option>
</select>
<span id="err_available_size"></span>
</div>
<div class="form-group">
<label>Item Privacy</label>
<select class="form-control" name="itemPrivacy">
<option value="private">Private</option>
<option value="public">Public</option>
</select>
</div>
</div>
</div>
</div>
<div class="box-footer">
<!-- <button type="submit" class="btn btn-default">Cancel</button> -->
<button type="submit" id="btn_submit_new_item" class="btn btn-primary pull-right">Submit</button>
</div>
</div>
</div>
</div>
</form>
</section>
<!-- /.content -->
</div>
@endsection

View File

@@ -0,0 +1,62 @@
@extends('user-layouts.user_template')
@section('content')
<div class="content-wrapper" style="min-height: 916px;">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Address Book
<!-- <small>Control panel</small> -->
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-home"></i> Home</a></li>
<li class="active">Address Book</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-primary">
<div class="box-header with-border">
<!-- <h3 class="box-title">
Current Address Book
</h3> -->
@if(count($array_address_book) <= 0)
<a href="{{ url('user/address-book/create') }}" class="btn btn-primary pull-right btn-sm"><i class="fa fa-plus"></i> Add New Address</a>
@endif
</div>
<div class="box-body custom-box-body">
<table class="table table-bordered">
<tbody>
<tr>
<th>Full name</th>
<th>Address</th>
<th>Postcode</th>
<th>Phone Number</th>
<th class="text-center">Action</th>
</tr>
@foreach($array_address_book as $row)
<tr>
<td>{{ $row->Fullname }}</td>
<td>{{ $row->Address }}</td>
<td>{{ $row->State }}, {{ $row->City }}, {{ $row->ZipCode }}</td>
<td>{{ $row->ContactNumber }}</td>
<td class="text-center">
<a href="{{ url('user/address-book/edit/') }}/{{ $row->Id }}" class="btn btn-default btn-xs"><i class="fa fa-edit"></i> Edit</a>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
<div>
</div>
</div>
</section>
<!-- /.content -->
</div>
@endsection

View File

@@ -0,0 +1,51 @@
@extends('user-layouts.user_template')
@section('content')
<div class="content-wrapper" style="min-height: 916px;">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Announcement
<!-- <small>Control panel</small> -->
</h1>
<ol class="breadcrumb">
<li><a href="{{ url ('user') }}"><i class="fa fa-home"></i> Home</a></li>
<li class="active">Announcement</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">Announcement</h3>
<div class="pull-right">
<input type="checkbox" id="isActiveAnnouncement" @if($data->IsActive) checked @endif data-id={{ $data->Id }} name="isActiveAnnouncement" data-toggle="toggle" data-width="100px" data-on="<i class='fa fa-check-circle'></i> Active" data-off="<i class='fa fa-ban'></i> Inactive" data-size="small">
</div>
</div>
<form role="form" id="form_announcement">
<div class="box-body">
<div class="row">
<div class="col-md-12">
<div class="form-group">
<label>Current Announcement</label>
<textarea class="form-control" rows="5" name="announcementInput" placeholder="Announcement">{{ $data->Announcement }}</textarea>
</div>
</div>
</div>
</div>
<div class="box-footer">
<button type="submit" class="btn btn-primary btn-custom-save">Save Changes</button>
</div>
</form>
{{-- {!! nl2br(e($data->Announcement)) !!} --}}
<div>
</div>
</div>
</section>
<!-- /.content -->
</div>
@endsection

View File

@@ -0,0 +1,172 @@
@extends('user-layouts.user_template')
@section('content')
<style>
.hide-bullets {
list-style:none;
margin-left: -40px;
margin-top:20px;
}
</style>
<div class="content-wrapper" style="min-height: 916px;">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
My Designs
<small>{{ $array_client_designs[0]->DesignName }}</small>
</h1>
<ol class="breadcrumb">
<li><a href="{{ url('user') }}"><i class="fa fa-home"></i> Home</a></li>
<li><a href="{{ url('user/my-designs') }}"><i class="fa fa-th-list"></i> My Designs</a></li>
<li class="active">{{ $array_client_designs[0]->DesignName }} </li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-md-7">
<div class="box box-primary">
<div class="box-header with-border">
<!-- <a href="{{ url('designer/edit') }}/{{ $array_client_designs[0]->DesignCode }}" type="button" class="btn btn-default pull-right" style="margin-left: 5px;"><i class="fa fa-edit"></i> Edit Design</a>
<button type="button" data-dd="{{ $array_client_designs[0]->DesignCode }}" data-port="{{ $array_cat_name[0]->Port }}" class="btn btn-warning pull-right" id="btn-reload-thumbnails"><i class="fa fa-refresh"></i> Reload Image Thumbnails</button> -->
<h3 class="box-title">
Sell this Design
</h3>
</div>
<div class="box-body custom-box-body">
<div class="row">
<div class="col-md-12">
<div class="thumb-content">
<div class="row">
<div class="col-md-12 text-center">
@foreach($array_client_designs as $row)
@foreach($array_template_paths as $key => $row1)
@if($key == 0)
<img src="{{ config('site_config.images_url') }}/{{ $row->DesignCode }}-front-thumbnail.png" alt="{{ $row->DesignName }}" id="main-thumbnail" class="img img-responsive">
@endif
@endforeach
@endforeach
</div>
</div>
<div class="row">
<div class="col-md-12">
<ul class="hide-bullets">
@foreach($array_client_designs as $row)
@foreach($array_template_paths as $key => $row1)
@if($key == 0)
<li class="col-sm-3 col-xs-3">
<a class="thumbnail a_thumbnail active">
<img class="img img-responsive product-center image-thumbnails" style="height: 59.45px;" src="{{ config('site_config.images_url') }}/{{ $row->DesignCode }}-front-thumbnail.png"/>
</a>
<!-- <p>Select Default Thumbnail:</p>
<div class="text-center">
<input type="radio" name="active_thumbnail" value="{{ $row1->Side }}" checked>
</div> -->
</li>
@else
<li class="col-sm-3 col-xs-3">
<a class="thumbnail a_thumbnail">
<img class="img img-responsive product-center image-thumbnails" style="height: 59.45px;" src="{{ config('site_config.images_url') }}/{{ $row->DesignCode }}-{{ strtolower($row1->Side) }}-thumbnail.png"/>
</a>
<!-- <p>&nbsp;</p>
<div class="text-center">
<input type="radio" name="active_thumbnail" value="{{ $row1->Side }}" >
</div> -->
</li>
@endif
@endforeach
@endforeach
</ul>
</div>
</div>
</div>
</div>
<!-- <div class="col-md-5">
asdasdadadsaad
</div> -->
</div>
</div>
</div>
</div>
<div class="col-md-5">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">
Item Details
</h3>
</div>
<form id="frm_sell_design">
<input type="hidden" name="templateCode" class="form-control" value="{{ $array_client_designs[0]->TemplateCode }}">
<input type="hidden" name="designCode" class="form-control" value="{{ $array_client_designs[0]->DesignCode }}">
<div class="box-body custom-box-body">
<div class="row">
<div class="col-md-12">
<!-- <input type="hidden" class="form-control" name="item_url" placeholder="Item Name"> -->
<div class="form-group">
<div id="sell-design-response-msg"></div>
</div>
<div class="form-group">
<label>Item Name</label>
<input type="text" class="form-control" id="itemName" name="itemName" placeholder="Item Name">
</div>
<div class="form-group">
<label>Item Desription</label>
<textarea class="form-control" name="itemDescription"></textarea>
</div>
<div class="form-group">
<label>Item Price</label>
<input id="item_price" name="itemPrice" class="form-control price_format" type="text" data-error="#err-price" />
</div>
<div class="form-group">
<label>Item Form</label>
<select class="form-control" name="itemForm">
<option value="jersey-and-shorts-form">Jersey and Shorts Form</option>
<option value="tshirt-form">T-Shirt Form</option>
<option value="quantity-form">Quantity 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="number-form">Number Only Form</option>
</select>
</div>
<div class="form-group">
<label>Item URL</label>
<input type="text" class="form-control" id="product_url" name="itemUrl" placeholder="Item URL">
<!-- <div class="input-group">
<span class="input-group-addon" id="basic-addon3">{{ url() . "/teamstore/" . $store_array[0]->StoreUrl . '/'}}</span>
<input type="text" class="form-control" id="product_url" name="itemUrl" aria-describedby="basic-addon3" data-error="#err-itemUrl" >
</div>
<span id="err-itemUrl"></span> -->
</div>
<div class="form-group">
<label>Available Size</label>
<select class="form-control select2" data-error="#err_available_size" data-placeholder="Select Size" name="available_size[]" multiple="multiple" required>
<option value="toddler">Toddler</option>
<option value="youth">Youth</option>
<option value="adult">Adult</option>
</select>
<span id="err_available_size"></span>
</div>
<div class="form-group">
<label>Item Privacy</label>
<select class="form-control" name="itemPrivacy">
<option value="private">Private</option>
<option value="public">Public</option>
</select>
</div>
</div>
</div>
</div>
<div class="box-footer">
<!-- <button type="submit" class="btn btn-default">Cancel</button> -->
<button type="submit" class="btn btn-primary pull-right">Submit</button>
</div>
</form>
</div>
</div>
</div>
</section>
<!-- /.content -->
</div>
@endsection

View File

@@ -0,0 +1,90 @@
@extends('user-layouts.user_template')
@section('content')
<div class="content-wrapper" style="min-height: 916px;">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Change Password
<!-- <small>Control panel</small> -->
</h1>
<ol class="breadcrumb">
<li><a href="{{ url ('user') }}"><i class="fa fa-home"></i> Home</a></li>
<li><a href="{{ url ('user/profile') }}"><i class="fa fa-user"></i> My Profile</a></li>
<li class="active">Change Password</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">
Edit Password
</h3>
</div>
<form role="form" id="frm-change-password">
<div class="box-body">
<div class="row">
<div class="col-md-5">
<div class="form-group">
<label>Current Password</label>
<div class="input-group">
<input type="password" class="form-control" id="current_password" name="current_password" placeholder="Enter your current password">
<span class="input-group-addon">
<div class="checkbox checkbox-inline">
<input type="checkbox" class="styled" id="chk-currentpass">
<label for="chk-currentpass"> Show String</label>
</div>
</span>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-5">
<div class="form-group">
<label>New Password</label>
<div class="input-group">
<input type="password" class="form-control" id="new_password" name="new_password" placeholder="Enter your new password">
<span class="input-group-addon">
<div class="checkbox checkbox-inline">
<input type="checkbox" class="styled" id="chk-newpass">
<label for="chk-newpass"> Show String</label>
</div>
</span>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-5">
<div class="form-group">
<label>Confirm New Password</label>
<div class="input-group">
<input type="password" class="form-control" id="con_new_password" name="con_new_password" placeholder="Enter your confirm new password">
<span class="input-group-addon">
<div class="checkbox checkbox-inline">
<input type="checkbox" class="styled" id="chk-con-newpass">
<label for="chk-con-newpass"> Show String</label>
</div>
</span>
</div>
</div>
</div>
</div>
</div>
<div class="box-footer">
<button type="submit" class="btn btn-primary btn-custom-save">update</button>
</div>
</form>
<div>
</div>
</div>
</section>
<!-- /.content -->
</div>
@endsection

View File

@@ -0,0 +1,81 @@
@extends('user-layouts.user_template')
@section('content')
<div class="content-wrapper" style="min-height: 916px;">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Address Book
<!-- <small>Control panel</small> -->
</h1>
<ol class="breadcrumb">
<li><a href="{{ url ('user') }}"><i class="fa fa-home"></i> Home</a></li>
<li><a href="{{ url ('user/address-book') }}"><i class="fa fa-address-book-o"></i> Address Book</a></li>
<li class="active">Add New Address</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">
Add New Address
</h3>
</div>
<form role="form" id="frm-create-address-book">
<div class="box-body">
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label>Fullname</label>
<input type="text" class="form-control" name="fullname" placeholder="Fullaname">
</div>
<div class="form-group">
<label>Mobile Number</label>
<input type="text" class="form-control" name="mobilenumber" placeholder="Please enter your mobile number">
</div>
<div class="form-group">
<label>Other Notes</label>
<input type="text" class="form-control" name="othernotes" placeholder="Please enter your notes">
</div>
<!-- /.box-body -->
</div>
<div class="col-md-6">
<div class="form-group">
<label>House Number, Building and Street Name</label>
<input type="text" class="form-control" name="address" placeholder="Please enter your House Number, Building and Street Name">
</div>
<div class="form-group">
<label>State</label>
<select class="form-control" name="state" id="lst-states" >
<option value="">Select State</option>
</select>
</div>
<div class="form-group">
<label>City</label>
<select class="form-control" name="city" id="lst-cities">
<option value="">Select City</option>
</select>
</div>
<div class="form-group">
<label>Zip Code</label>
<input type="text" class="form-control" name="zipcode" placeholder="Please enter your zip code">
</div>
</div>
</div>
</div>
<div class="box-footer">
<button type="submit" class="btn btn-primary btn-custom-save">Save</button>
</div>
</form>
<div>
</div>
</div>
</section>
<!-- /.content -->
</div>
@endsection

View File

@@ -0,0 +1,81 @@
@extends('user-layouts.user_template')
@section('content')
<div class="content-wrapper" style="min-height: 916px;">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Address Book
<!-- <small>Control panel</small> -->
</h1>
<ol class="breadcrumb">
<li><a href="{{ url ('user') }}"><i class="fa fa-home"></i> Home</a></li>
<li><a href="{{ url ('user/address-book') }}""><i class="fa fa-address-book-o"></i> Address Book</a></li>
<li class="active">Edit Address Book</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">
Edit Address
</h3>
</div>
<form role="form" id="frm-edit-address-book">
<div class="box-body">
<div class="row">
<div class="col-md-6">
<input type="hidden" class="form-control" name="id" value="{{ $array_address_book[0]->Id }}">
<div class="form-group">
<label>Fullname</label>
<input type="text" class="form-control" name="fullname" placeholder="Fullaname" value="{{ $array_address_book[0]->Fullname }}">
</div>
<div class="form-group">
<label>Mobile Number</label>
<input type="text" class="form-control" name="mobilenumber" placeholder="Please enter your mobile number" value="{{ $array_address_book[0]->ContactNumber }}">
</div>
<div class="form-group">
<label>Other Notes</label>
<input type="text" class="form-control" name="othernotes" placeholder="Please enter your notes" value="{{ $array_address_book[0]->OtherNotes }}">
</div>
<!-- /.box-body -->
</div>
<div class="col-md-6">
<div class="form-group">
<label>House Number, Building and Street Name</label>
<input type="text" class="form-control" name="address" placeholder="Please enter your House Number, Building and Street Name" value="{{ $array_address_book[0]->Address }}">
</div>
<div class="form-group">
<label>State</label>
<select class="form-control" name="state" id="lst-states" data-selected="{{ $array_address_book[0]->State }}">
<option value="">Select State</option>
</select>
</div>
<div class="form-group">
<label>City</label>
<select class="form-control" name="city" id="lst-cities" data-selected="{{ $array_address_book[0]->City }}">
<option value="">Select City</option>
</select>
</div>
<div class="form-group">
<label>Zip Code</label>
<input type="text" class="form-control" name="zipcode" placeholder="Please enter your zip code" value="{{ $array_address_book[0]->ZipCode }}">
</div>
</div>
</div>
</div>
<div class="box-footer">
<button type="submit" class="btn btn-primary btn-custom-save">Update</button>
</div>
</form>
<div>
</div>
</div>
</section>
<!-- /.content -->
</div>
@endsection

View File

@@ -0,0 +1,87 @@
@extends('user-layouts.user_template')
@section('content')
<div class="content-wrapper" style="min-height: 916px;">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Edit Profile
<!-- <small>Control panel</small> -->
</h1>
<ol class="breadcrumb">
<li><a href="{{ url ('user') }}"><i class="fa fa-home"></i> Home</a></li>
<li><a href="{{ url ('user/profile') }}"><i class="fa fa-user"></i> My Profile</a></li>
<li class="active">Edit Profile</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">
Personal Info
</h3>
</div>
<form role="form" id="frm-edit-profile">
<div class="box-body">
<div class="row">
<div class="col-md-4">
<div class="form-group">
<label>Fullname</label>
<input type="text" class="form-control" name="fullname" placeholder="Fullaname" value="{{ $array_profile_info[0]->name }}">
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Email Address</label>
<input type="email" class="form-control" name="email" placeholder="Please enter your email address" value="{{ $array_profile_info[0]->email }}">
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Mobile Number</label>
<p>
<input type="text" class="form-control" name="contactnumber" placeholder="Please enter your mobile number" value="{{ $array_profile_info[0]->ContactNumber }}">
</p>
</div>
</div>
</div>
<div class="row">
<div class="col-md-4">
<div class="form-group">
<label>Birthday</label>
<div class="input-group">
<input type="text" id="datepicker_bday" name="birthday" placeholder="Please enter your birthdate" class="form-control" value="{{ date('m/d/Y', strtotime($array_profile_info[0]->Birthday)) }}"><span class="input-group-addon"><i class="fa fa-calendar"></i></span>
</div>
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Gender</label>
<select class="form-control" name="gender">
<option value="Male" @if($array_profile_info[0]->Gender == "Male") selected @endif>Male</option>
<option value="Female" @if($array_profile_info[0]->Gender == "Female") selected @endif>Female</option>
</select>
<p>
</p>
</div>
</div>
</div>
</div>
<div class="box-footer">
<button type="submit" class="btn btn-primary btn-custom-save">update</button>
</div>
</form>
<div>
</div>
</div>
</section>
<!-- /.content -->
</div>
@endsection

View File

@@ -0,0 +1,62 @@
@extends('user-layouts.user_template')
@section('content')
<div class="content-wrapper" style="min-height: 916px;">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Email Verification
<!-- <small>Control panel</small> -->
</h1>
<ol class="breadcrumb">
<li><a href="{{ url ('user') }}"><i class="fa fa-home"></i> Home</a></li>
<li><a href="{{ url ('user/profile') }}"><i class="fa fa-user"></i> Profile</a></li>
<li class="active">Email Verification</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-primary">
<!-- <div class="box-header with-border">
<h3 class="box-title">
Email Verification
</h3>
</div> -->
<div class="box-body">
<div class="row">
<div class="col-md-4">
<div class="form-group">
<form role="form" id="frm_verification_code">
<label>Verification Code</label>
<div class="input-group">
<input type="text" class="form-control" data-error="#err_vercode" name="verification_code" placeholder="Please enter verification code">
<span class="input-group-btn">
<button type="submit" class="btn btn-primary">Submit</button>
</span>
</div>
<span id="err_vercode" style="color: #dd4b39"></span>
</form>
<a href="#" type="button" class="btn btn-link" data-email="{{ $array_profile_info[0]->email }}" id="btn_resend_code"><i class="fa fa-angle-double-right"></i> Resend Code <span class="badge" id="resend_countdown"></span></a>
</div>
</div>
</div>
</div>
<!-- <div class="box-footer">
<a href="{{ url('user/profile/edit') }}" type="submit" class="btn btn-primary btn-custom-save">Edit</a>
<a href="{{ url('user/profile/change-password') }}" type="submit" class="btn btn-danger btn-custom-save">Change Password</a>
</div> -->
<div>
</div>
</div>
</section>
<!-- /.content -->
</div>
@endsection

View File

@@ -0,0 +1,8 @@
<footer class="main-footer">
<!-- To the right -->
<div class="pull-right hidden-xs">
Version 1.0
</div>
<!-- Default to the left -->
<strong>Copyright © <?php echo date('Y') ?> <a href="http://crewsportswear.com">crewsportswear.com</a>.</strong> All rights reserved.
</footer>

View File

@@ -0,0 +1,31 @@
<header class="main-header">
<!-- Logo -->
<a href="{{ url('user') }}" class="logo">
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"><b>M</b></span>
<!-- logo for regular state and mobile devices -->
<span class="logo-lg"><b>Merchbay</b></span>
</a>
<!-- Header Navbar: style can be found in header.less -->
<nav class="navbar navbar-static-top">
<!-- Sidebar toggle button-->
<a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
<span class="sr-only">Toggle navigation</span>
</a>
<div class="navbar-custom-menu">
<ul class="nav navbar-nav">
<!-- User Account: style can be found in dropdown.less -->
<!-- Control Sidebar Toggle Button -->
<li class="user user-menu">
<a href="#">
<img src="{{ config('site_config.uploads') . 'user/default-user.png' }}" class="user-image" alt="User Image">
<span class="hidden-xs">{{ Auth::user()->username }}</span>
</a>
</li>
<li>
<a href="{{ url('/auth/logout') }}"><i class="fa fa-sign-out"></i> Logout</a>
</li>
</ul>
</div>
</nav>
</header>

View File

@@ -0,0 +1,146 @@
@extends('user-layouts.user_template')
@section('content')
<div class="content-wrapper" style="min-height: 916px;">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Dashboard
<small>Control panel</small>
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
<li class="active">Dashboard</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
@if(Auth::user()->email_is_verified == "0")
<div class="alert alert-warning alert-dismissible">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<h4><i class="icon fa fa-check"></i> To do!</h4>
Please verify your Email Address. <a href="{{ url('user/email-verify') }}">Click here</a>
</div>
@endif
@if ($data['isStoreOwner'])
<div class="row">
<div class="col-lg-3 col-xs-6">
<!-- small box -->
<div class="small-box bg-aqua">
<div class="inner">
<h3>{{ $data['store_order'] or 0 }}</h3>
<p>Total Item Ordered</p>
</div>
<div class="icon">
<i class="ion ion-bag"></i>
</div>
<a href="./user/store-orders" class="small-box-footer">More info <i class="fa fa-arrow-circle-right"></i></a>
</div>
</div>
<!-- ./col -->
<div class="col-lg-3 col-xs-6">
<!-- small box -->
<div class="small-box bg-green">
<div class="inner">
<h3>{{ number_format($data['store_income'], 2) }}</h3>
<p>Store Income</p>
</div>
<div class="icon">
<i class="ion ion-cash"></i>
</div>
<a href="#" class="small-box-footer">More info <i class="fa fa-arrow-circle-right"></i></a>
</div>
</div>
<!-- ./col -->
<div class="col-lg-3 col-xs-6">
<!-- small box -->
<div class="small-box bg-yellow">
<div class="inner">
<h3>{{ $data['store_product_count'] or 0 }}</h3>
<p>Total Products</p>
</div>
<div class="icon">
<i class="ion ion-ios-pricetags"></i>
</div>
<a href="#" class="small-box-footer">More info <i class="fa fa-arrow-circle-right"></i></a>
</div>
</div>
<!-- ./col -->
<div class="col-lg-3 col-xs-6">
<!-- small box -->
<div class="small-box bg-red">
<div class="inner">
<h3>{{ $data['store_published_product'] or 0 }}</h3>
<p>Total Published Product</p>
</div>
<div class="icon">
<i class="ion ion-ios-pricetags-outline"></i>
</div>
<a href="#" class="small-box-footer">More info <i class="fa fa-arrow-circle-right"></i></a>
</div>
</div>
<!-- ./col -->
</div>
{{-- <div class="row">
<div class="col-lg-12">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">Total Sales</h3>
<div class="box-tools">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
</button>
<button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
</div>
</div>
<div class="box-body">
<div class="well">
<div class="form-group col-md-3">
<label class="control-label">Select Year: <span class="required">*</span></label>
<select type="text" class="form-control" placeholder="Select Select Year">
<option value="2020">2020</option>
<option value="2019">2019</option>
</select>
</div>
<div class="form-group col-md-3">
<label class="control-label">Select Month <span class="required">*</span></label>
<select class="form-control" placeholder="Select Date">
<option value="">January</option>
<option value="">February</option>
<option value="">March</option>
<option value="">April</option>
<option value="">May</option>
<option value="">June</option>
<option value="">July</option>
<option value="">August</option>
<option value="">September</option>
<option value="">October</option>
<option value="">November</option>
<option value="">December</option>
</select>
</div>
<div class="clearfix"></div>
</div>
<div class="chart">
<canvas id="myChart" style="height:350px"></canvas>
</div>
</div>
<!-- /.box-body -->
</div>
</div>
</div> --}}
@else
<div class="text-center" id="homepage-logo">
<img src="{{asset('/public/images/logo.png')}}" style="height: 200px;" class="img img-responsive" />
</div>
@endif
</section>
<!-- /.content -->
</div>
@endsection

View File

@@ -0,0 +1,63 @@
@extends('user-layouts.user_template')
@section('content')
<style>
.design-name-holder{
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
</style>
<div class="content-wrapper" style="min-height: 916px;">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
My Designs
<!-- <small>Control panel</small> -->
</h1>
<ol class="breadcrumb">
<li><a href="{{ url('user') }}"><i class="fa fa-home"></i> Home</a></li>
<li class="active">My Designs</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-primary">
<!-- <div class="box-header with-border">
asda
</div> -->
<div class="box-body custom-box-body">
<div class="row">
@foreach($array_client_designs as $row)
<div class="col-md-3 col-sm-6">
<span class="thumbnail">
<img src="{{ config('site_config.images_url') }}/{{ $row->DesignCode }}-front-thumbnail.png" alt="{{ $row->DesignName }}" >
<h4 class="design-name-holder">{{ $row->DesignName }}</h4>
<small>{{ date('F j, Y g:i a', strtotime($row->DateCreated)) }}</small>
<hr class="line">
<div class="row">
<div class="col-md-12 col-sm-12">
<a href="{{ url('/') }}/{{ Request::path() }}/view/{{ $row->DesignCode }} " class="btn btn-warning btn-xs"><i class="fa fa-eye"></i> View</a>
<!-- <a href="{{ url('designer/edit') }}/{{ $row->DesignCode }}" class="btn btn-default btn-xs"><i class="fa fa-edit"></i> Edit Design</a> -->
<!-- <a href="{{ url('user/my-designs/buy-design') }}/{{ $row->DesignCode }}" class="btn btn-primary btn-xs"><i class="fa fa-shopping-cart"></i> Buy</a> -->
@if(Auth::user()->role == "store_owner")
<a href="{{ url('user/my-designs/sell-design/' . $row->DesignCode) }}" class="btn btn-success btn-xs"><i class="fa fa-usd"></i> Sell</a>
@endif
</div>
</div>
</span>
</div>
@endforeach
<div class="col-md-12 col-sm-12 pull-right">
{!! $array_client_designs->render() !!}
</div>
</div>
</div>
<div>
</div>
</div>
</section>
<!-- /.content -->
</div>
@endsection

View File

@@ -0,0 +1,204 @@
<table class="table table-condensed table-bordered">
<tr >
<th class="bg-info" colspan="2">Payer Information</th>
<th class="text-center bg-info">Shipping Address</th>
</tr>
<tr>
<th class="col-md-3">Payer Name</th>
<td>{{ $array_payment_details[0]->Payer_Firstname . ' ' . $array_payment_details[0]->Payer_Lastname }}</td>
<td rowspan="3">
{{ $array_shipping_add[0]->recipient_name }}<br>
{{ $array_shipping_add[0]->line1 . ' ' . $array_shipping_add[0]->line2 . ', ' }}<br>
{{ $array_shipping_add[0]->city . ', ' . $array_shipping_add[0]->state . ' ' . $array_shipping_add[0]->postal_code }}<br>
{{ $array_shipping_add[0]->country_code }}
</td>
</tr>
<tr>
<th class="col-md-3">Payer Email Address</th>
<td>{{ $array_payment_details[0]->Payer_Email }}</td>
</tr>
<tr>
<th class="col-md-3">Payment Method</th>
<td>{{ $array_payment_details[0]->PaymentMethod }}</td>
</tr>
<tr >
<th class="bg-info" colspan="3">Transaction Information</th>
</tr>
<tr>
<th class="col-md-3">Invoice #</th>
<td colspan="2">{{ $array_payment_details[0]->InvoiceNumber }}</td>
</tr>
</table>
<div style="border: 1px solid #e2e2e2; padding: 10px; margin-bottom: 10px;">
<div class="row">
<div class="col-md-2">
<div class="text-center">
<img class="previewImage" id="active_thumbnail" src="{{ config('site_config.images_url') . '/images/' . $array_thumbnail_display[0]->Image }}">
</div>
</div>
<div class="col-md-10">
<table class="table table-striped table-condensed">
@if($array_item[0]->FormUsed=="jersey-and-shorts-form")
<tr>
<th>Name</th>
<th>Number</th>
<th>Jersey Size</th>
<th>Shorts Size</th>
<th>Price</th>
<th>Quantity</th>
</tr>
@elseif($array_item[0]->FormUsed=="tshirt-form")
<tr>
<th>Size</th>
<th>Price</th>
<th>Quantity</th>
<!-- <th></th> -->
</tr>
@elseif($array_item[0]->FormUsed=="quantity-form")
<tr>
<th>Price</th>
<th>Quantity</th>
</tr>
@elseif($array_item[0]->FormUsed=="name-number-form")
<tr>
<th>Name</th>
<th>Number</th>
<th>Price</th>
<th>Quantity</th>
</tr>
@elseif($array_item[0]->FormUsed=="name-number-size-form")
<tr>
<th>Name</th>
<th>Number</th>
<th>Size</th>
<th>Price</th>
<th>Quantity</th>
</tr>
@elseif($array_item[0]->FormUsed=="number-form")
<tr>
<th>Number</th>
<th>Price</th>
<th>Quantity</th>
</tr>
@elseif($array_item[0]->FormUsed=="name-name2-size-form")
<tr>
<th>Gamer Tag</th>
<th>Name</th>
<th>Size</th>
<th>Price</th>
<th>Quantity</th>
</tr>
@elseif($array_item[0]->FormUsed=="name-size-form")
<tr>
<th>Name</th>
<th>Size</th>
<th>Price</th>
<th>Quantity</th>
</tr>
@elseif($array_item[0]->FormUsed=="jersey-and-shorts-quantity-form")
<tr>
<th>Jersey Size</th>
<th>Shorts Size</th>
<th>Price</th>
<th>Quantity</th>
</tr>
@elseif($array_item[0]->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
@if($array_item[0]->FormUsed=="jersey-and-shorts-form")
<tr>
<td> @if($array_item[0]->Name != '') {{ $array_item[0]->Name }} @else -- @endif </td>
<td>{{ $array_item[0]->Number }}</td>
<td>{{ $array_item[0]->JerseySize }}</td>
<td>{{ $array_item[0]->ShortsSize }}</td>
<td>{{ $array_item[0]->Price }}</td>
<td>{{ $array_item[0]->Quantity }}</td>
</tr>
@elseif($array_item[0]->FormUsed=="tshirt-form")
<tr>
<td>{{ $array_item[0]->Size }}</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=="quantity-form")
<tr>
<td>{{ $array_item[0]->Price }}</td>
<td>{{ $array_item[0]->Quantity }}</td>
</tr>
@elseif($array_item[0]->FormUsed=="name-number-form")
<tr>
<td>{{ $array_item[0]->Name }}</td>
<td>{{ $array_item[0]->Number }}</td>
<td>{{ $array_item[0]->Price }}</td>
<td>{{ $array_item[0]->Quantity }}</td>
</tr>
@elseif($array_item[0]->FormUsed=="name-number-size-form")
<tr>
<td>{{ $array_item[0]->Name }}</td>
<td>{{ $array_item[0]->Number }}</td>
<td>{{ $array_item[0]->Size }}</td>
<td>{{ $array_item[0]->Price }}</td>
<td>{{ $array_item[0]->Quantity }}</td>
</tr>
@elseif($array_item[0]->FormUsed=="number-form")
<tr>
<td>{{ $array_item[0]->Number }}</td>
<td>{{ $array_item[0]->Price }}</td>
<td>{{ $array_item[0]->Quantity }}</td>
</tr>
@elseif($array_item[0]->FormUsed=="name-name2-size-form")
<tr>
<td>{{ $array_item[0]->Name }}</td>
<td>{{ $array_item[0]->Name2 }}</td>
<td>{{ $array_item[0]->Size }}</td>
<td>{{ $array_item[0]->Price . ' ' . $store_array[0]->StoreCurrency }}</td>
<td>{{ $array_item[0]->Quantity }}</td>
</tr>
@elseif($array_item[0]->FormUsed=="name-size-form")
<tr>
<td>{{ $array_item[0]->Name }}</td>
<td>{{ $array_item[0]->Size }}</td>
<td>{{ $array_item[0]->Price . ' ' . $store_array[0]->StoreCurrency }}</td>
<td>{{ $array_item[0]->Quantity }}</td>
</tr>
@elseif($array_item[0]->FormUsed=="jersey-and-shorts-quantity-form")
<tr>
<td>{{ $array_item[0]->JerseySize}}</td>
<td>{{ $array_item[0]->ShortsSize}}</td>
<td>{{ $array_item[0]->Price . ' ' . $store_array[0]->StoreCurrency }}</td>
<td>{{ $array_item[0]->Quantity }}</td>
</tr>
@elseif($array_item[0]->FormUsed=="number-jersey-shorts-form")
<tr>
<td>{{ $array_item[0]->Number }}</td>
<td>{{ $array_item[0]->JerseySize }}</td>
<td>{{ $array_item[0]->ShortsSize }}</td>
<td>{{ $array_item[0]->Price . ' ' . $store_array[0]->StoreCurrency }}</td>
<td>{{ $array_item[0]->Quantity }}</td>
</tr>
@else
@endif
</table>
</div>
</div>
</div>

View File

@@ -0,0 +1,244 @@
@extends('user-layouts.user_template')
@section('content')
<style>
.previewImage{
height: 150px;
width: 95%;
overflow:hidden;
object-fit: contain;
}
</style>
<div class="content-wrapper" style="min-height: 916px;">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Orders
<!-- <small>Control panel</small> -->
</h1>
<ol class="breadcrumb">
<li><a href="{{ url ('user') }}"><i class="fa fa-home"></i> Home</a></li>
<li><a href="{{ url ('user/orders') }}"><i class="fa fa-list"></i> Orders</a></li>
<li class="active">Orders Details</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">
Order Details
</h3>
</div>
<!-- <form role="form" id="frm-create-address-book"> -->
<div class="box-body">
<div class="row">
<div class="col-md-12">
<table class="table table-condensed table-bordered">
<tr >
<th class="text-center" colspan="2">Payer Information</th>
</tr>
<tr>
<th class="col-md-3">Payer Name</th>
<td>{{ $array_payment_details[0]->Payer_Firstname . ' ' . $array_payment_details[0]->Payer_Lastname }}</td>
</tr>
<tr>
<th class="col-md-3">Payer Email Address</th>
<td>{{ $array_payment_details[0]->Payer_Email }}</td>
</tr>
<tr>
<th class="col-md-3">Payment Method</th>
<td>{{ $array_payment_details[0]->PaymentMethod }}</td>
</tr>
<tr >
<th class="text-center" colspan="2">Transaction Information</th>
</tr>
<tr>
<th class="col-md-3">Subtotal</th>
<td>{{ $array_payment_details[0]->SubTotal . ' ' . $array_payment_details[0]->Currency }}</td>
</tr>
@foreach($item_goup_array as $item)
@if($item->VoucherId != null)
<tr>
<th class="col-md-3">Discount</th>
<td>Voucher Code: <b>{{ $item->ProductName }} </b> / {{ $item->Price . ' ' . $array_payment_details[0]->Currency }}</td>
</tr>
@endif
@endforeach
<tr>
<th class="col-md-3">Tax</th>
<td>{{ $array_payment_details[0]->Tax . ' ' . $array_payment_details[0]->Currency }}</td>
</tr>
<tr>
<th class="col-md-3">Total</th>
<td>{{ $array_payment_details[0]->Total . ' ' . $array_payment_details[0]->Currency }}</td>
</tr>
<tr>
<th class="col-md-3">Invoice #</th>
<td>{{ $array_payment_details[0]->InvoiceNumber }}</td>
</tr>
</table>
</div>
</div>
<div class="row">
<div class="col-md-12">
@foreach($item_goup_array as $item)
@if($item->VoucherId == null)
<div style="border: 1px solid #e2e2e2; padding: 10px; margin-bottom: 10px;">
<div class="row">
<div class="col-md-2">
<div class="text-center">
@foreach($img_thumb as $img)
@if($img->ProductId == $item->ProductId)
<img class="previewImage" src="{{ config('site_config.images_url') }}/{{ $img->Image }}">
@endif
@endforeach
</div>
</div>
<div class="col-md-10">
<h4><a href="{{ url('teamstore') . '/' . $item->StoreURL . '/' . 'product/' . $item->ProductURL }}">{{ $item->ProductName }}</a></h4>
<p>Total Price: {{ $item->total_price . ' ' . $array_payment_details[0]->Currency }} &bull; Row(s): {{ $item->qty }} </p>
<div class="table-responsive">
<table class="table table-striped table-condensed">
@if($item->FormUsed=="jersey-and-shorts-form")
<tr>
<th>Name</th>
<th>Number</th>
<th>Jersey Size</th>
<th>Shorts Size</th>
<th>Price</th>
<th>Quantity</th>
</tr>
@elseif($item->FormUsed=="tshirt-form")
<tr>
<th>Size</th>
<th>Price</th>
<th>Quantity</th>
</tr>
@elseif($item->FormUsed=="quantity-form")
<tr>
<th>Price</th>
<th>Quantity</th>
</tr>
@elseif($item->FormUsed=="name-number-form")
<tr>
<th>Name</th>
<th>Number</th>
<th>Price</th>
<th>Quantity</th>
</tr>
@elseif($item->FormUsed=="name-number-size-form")
<tr>
<th>Name</th>
<th>Number</th>
<th>Size</th>
<th>Price</th>
<th>Quantity</th>
</tr>
@elseif($item->FormUsed=="number-form")
<tr>
<th>Number</th>
<th>Price</th>
<th>Quantity</th>
</tr>
@elseif($item->FormUsed=="name-size-form")
<tr>
<th>Name</th>
<th>Size</th>
<th>Price</th>
<th>Quantity</th>
<th></th>
</tr>
@else
@endif
@foreach($order_item_array as $sub_item)
@if($sub_item->ProductId == $item->ProductId)
@if($item->FormUsed=="jersey-and-shorts-form")
<tr>
<td> @if($sub_item->Name != '') {{ $sub_item->Name }} @else -- @endif </td>
<td>{{ $sub_item->Number }}</td>
<td>{{ $sub_item->JerseySize }}</td>
<td>{{ $sub_item->ShortsSize }}</td>
<td>{{ $sub_item->Price . ' ' . $array_payment_details[0]->Currency }}</td>
<td>{{ $sub_item->Quantity }}</td>
</tr>
@elseif($item->FormUsed=="tshirt-form")
<tr>
<td>{{ $sub_item->Size }}</td>
<td>{{ $sub_item->Price . ' ' . $array_payment_details[0]->Currency }}</td>
<td>{{ $sub_item->Quantity }}</td>
</tr>
@elseif($item->FormUsed=="quantity-form")
<tr>
<td>{{ $sub_item->Price . ' ' . $array_payment_details[0]->Currency }}</td>
<td>{{ $sub_item->Quantity }}</td>
</tr>
@elseif($item->FormUsed=="name-number-form")
<tr>
<td>{{ $sub_item->Name }}</td>
<td>{{ $sub_item->Number }}</td>
<td>{{ $sub_item->Price . ' ' . $array_payment_details[0]->Currency }}</td>
<td>{{ $sub_item->Quantity }}</td>
</tr>
@elseif($item->FormUsed=="name-number-size-form")
<tr>
<td>{{ $sub_item->Name }}</td>
<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>
@elseif($item->FormUsed=="number-form")
<tr>
<td>{{ $sub_item->Number }}</td>
<td>{{ $sub_item->Price . ' ' . $array_payment_details[0]->Currency }}</td>
<td>{{ $sub_item->Quantity }}</td>
</tr>
@elseif($item->FormUsed=="name-size-form")
<tr>
<td>{{ $sub_item->Name }}</td>
<td>{{ $sub_item->Size }}</td>
<td>{{ $sub_item->Price . ' ' . $array_payment_details[0]->Currency }}</td>
<td>{{ $sub_item->Quantity }}</td>
</tr>
@else
@endif
@endif
@endforeach
</table>
</div>
</div>
</div>
</div>
@endif
@endforeach
</div>
</div>
</div>
<div>
</div>
</div>
</section>
<!-- /.content -->
</div>
@endsection

View File

@@ -0,0 +1,67 @@
@extends('user-layouts.user_template')
@section('content')
<div class="content-wrapper" style="min-height: 916px;">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Orders
<!-- <small>Control panel</small> -->
</h1>
<ol class="breadcrumb">
<li><a href="{{ url ('user') }}"><i class="fa fa-home"></i> Home</a></li>
<li class="active">Orders</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">
Order List
</h3>
</div>
<form role="form" id="frm-create-address-book">
<div class="box-body">
<div class="row">
<div class="col-md-12">
<table class="table table-bordered">
<thead>
<tr>
<th>Invoice No.</th>
<th>Total Payment</th>
<th>Date Created</th>
<th class="text-center">Action</th>
</tr>
</thead>
<tbody>
@foreach($array_payment_details as $row)
<tr>
<td>{{ $row->InvoiceNumber }} </td>
<td>{{ $row->Currency }} {{ $row->Total }} </td>
<td>{{ date('F j, Y g:i a', strtotime($row->DateCreated)) }} </td>
<td class="text-center">
<a href="{{ url('user/orders/view') }}/{{ $row->CartKey }}" class="btn btn-default btn-xs">View Details</a>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
<div class="box-footer">
<!-- <button type="submit" class="btn btn-primary btn-custom-save">Save</button> -->
</div>
</form>
<div>
</div>
</div>
</section>
<!-- /.content -->
</div>
@endsection

View File

@@ -0,0 +1,102 @@
@extends('user-layouts.user_template')
@section('content')
<div class="content-wrapper" style="min-height: 916px;">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
My Profile
<!-- <small>Control panel</small> -->
</h1>
<ol class="breadcrumb">
<li><a href="{{ url ('user') }}"><i class="fa fa-home"></i> Home</a></li>
<li class="active">My Profile</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">
Personal Info
</h3>
</div>
<form role="form" id="frm-create-address-book">
<div class="box-body">
<div class="row">
<div class="col-md-4">
<div class="form-group">
<label>Fullname</label>
<p>{{ $array_profile_info[0]->name }}</p>
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Email Address</label>
<p>
{{ $array_profile_info[0]->email }}
<small>
@if($array_profile_info[0]->email_is_verified == 1)
<i class="fa fa-check-circle" title="verified"></i>
@else
<a href="{{ url('/user/email-verify') }}"> [ verify email ]</a>
@endif
</small></p>
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Mobile Number</label>
<p>
@if($array_profile_info[0]->ContactNumber != null)
{{ $array_profile_info[0]->ContactNumber }}
@else
<i>not set</i>
@endif
</p>
</div>
</div>
</div>
<div class="row">
<div class="col-md-4">
<div class="form-group">
<label>Birthday</label>
<p>
@if($array_profile_info[0]->Birthday != null)
{{ $array_profile_info[0]->Birthday }}
@else
<i>not set</i>
@endif
</p>
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Gender</label>
<p>
@if($array_profile_info[0]->Gender != null)
{{ $array_profile_info[0]->Gender }}
@else
<i>not set</i>
@endif
</p>
</div>
</div>
</div>
</div>
<div class="box-footer">
<a href="{{ url('user/profile/edit') }}" type="submit" class="btn btn-primary btn-custom-save">Edit</a>
<a href="{{ url('user/profile/change-password') }}" type="submit" class="btn btn-danger btn-custom-save">Change Password</a>
</div>
</form>
<div>
</div>
</div>
</section>
<!-- /.content -->
</div>
@endsection

View File

@@ -0,0 +1,176 @@
@extends('user-layouts.user_template')
@section('content')
<style>
.hide-bullets {
list-style:none;
margin-left: -40px;
margin-top:20px;
}
</style>
<div class="content-wrapper" style="min-height: 916px;">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
My Designs
<small>{{ $array_client_designs[0]->DesignName }}</small>
</h1>
<ol class="breadcrumb">
<li><a href="{{ url('user') }}"><i class="fa fa-home"></i> Home</a></li>
<li><a href="{{ url('user/my-designs') }}"><i class="fa fa-th-list"></i> My Designs</a></li>
<li class="active">{{ $array_client_designs[0]->DesignName }} </li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-md-7">
<div class="box box-primary">
<div class="box-header with-border">
<!-- <a href="{{ url('designer/edit') }}/{{ $array_client_designs[0]->DesignCode }}" type="button" class="btn btn-default pull-right" style="margin-left: 5px;"><i class="fa fa-edit"></i> Edit Design</a>
<button type="button" data-dd="{{ $array_client_designs[0]->DesignCode }}" data-port="{{ $array_cat_name[0]->Port }}" class="btn btn-warning pull-right" id="btn-reload-thumbnails"><i class="fa fa-refresh"></i> Reload Image Thumbnails</button> -->
<h3 class="box-title">
Sell this Design
</h3>
</div>
<div class="box-body custom-box-body">
<div class="row">
<div class="col-md-12">
<div class="thumb-content">
<div class="row">
<div class="col-md-12 text-center">
@foreach($array_client_designs as $row)
@foreach($array_template_paths as $key => $row1)
@if($key == 0)
<img src="{{ config('site_config.images_url') }}/{{ $row->DesignCode }}-front-thumbnail.png" alt="{{ $row->DesignName }}" id="main-thumbnail" class="img img-responsive">
@endif
@endforeach
@endforeach
</div>
</div>
<div class="row">
<div class="col-md-12">
<ul class="hide-bullets">
@foreach($array_client_designs as $row)
@foreach($array_template_paths as $key => $row1)
@if($key == 0)
<li class="col-sm-3 col-xs-3">
<a class="thumbnail a_thumbnail active">
<img class="img img-responsive product-center image-thumbnails" style="height: 59.45px;" src="{{ config('site_config.images_url') }}/{{ $row->DesignCode }}-front-thumbnail.png"/>
</a>
<!-- <p>Select Default Thumbnail:</p>
<div class="text-center">
<input type="radio" name="active_thumbnail" value="{{ $row1->Side }}" checked>
</div> -->
</li>
@else
<li class="col-sm-3 col-xs-3">
<a class="thumbnail a_thumbnail">
<img class="img img-responsive product-center image-thumbnails" style="height: 59.45px;" src="{{ config('site_config.images_url') }}/{{ $row->DesignCode }}-{{ strtolower($row1->Side) }}-thumbnail.png"/>
</a>
<!-- <p>&nbsp;</p>
<div class="text-center">
<input type="radio" name="active_thumbnail" value="{{ $row1->Side }}" >
</div> -->
</li>
@endif
@endforeach
@endforeach
</ul>
</div>
</div>
</div>
</div>
<!-- <div class="col-md-5">
asdasdadadsaad
</div> -->
</div>
</div>
</div>
</div>
<div class="col-md-5">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">
Item Details
</h3>
</div>
<form id="frm_sell_design">
<input type="hidden" name="templateCode" class="form-control" value="{{ $array_client_designs[0]->TemplateCode }}">
<input type="hidden" name="designCode" class="form-control" value="{{ $array_client_designs[0]->DesignCode }}">
<div class="box-body custom-box-body">
<div class="row">
<div class="col-md-12">
<!-- <input type="hidden" class="form-control" name="item_url" placeholder="Item Name"> -->
<div class="form-group">
<div id="sell-design-response-msg"></div>
</div>
<div class="form-group">
<label>Item Name</label>
<input type="text" class="form-control" id="itemName" name="itemName" placeholder="Item Name">
</div>
<div class="form-group">
<label>Item Desription</label>
<textarea class="form-control" name="itemDescription"></textarea>
</div>
<div class="form-group">
<label>Item Price</label>
<input id="item_price" name="itemPrice" class="form-control price_format" type="text" data-error="#err-price" />
</div>
<div class="form-group">
<label>Item Form</label>
<select class="form-control" name="itemForm">
<option value="jersey-and-shorts-form">Jersey and Shorts Form</option>
<option value="tshirt-form">T-Shirt Form</option>
<option value="quantity-form">Quantity 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="number-form">Number Only Form</option>
</select>
</div>
<div class="form-group">
<label>Item URL</label>
<input type="text" class="form-control" id="product_url" name="itemUrl" placeholder="Item URL">
<!-- <div class="input-group">
<span class="input-group-addon" id="basic-addon3">{{ url() . "/teamstore/" . $store_array[0]->StoreUrl . '/'}}</span>
<input type="text" class="form-control" id="product_url" name="itemUrl" aria-describedby="basic-addon3" data-error="#err-itemUrl" >
</div>
<span id="err-itemUrl"></span> -->
</div>
<div class="form-group">
<label>Available Size</label>
<select class="form-control select2" data-error="#err_available_size" data-placeholder="Select Size" name="available_size[]" multiple="multiple" required>
<option value="toddler">Toddler</option>
<option value="youth">Youth</option>
<option value="adult">Adult</option>
<option value="mask">Mask</option>
<option value="gaiter">Gaiter</option>
<option value="buckethat">Buckethat</option>
<option value="none">None</option>
</select>
<span id="err_available_size"></span>
</div>
<div class="form-group">
<label>Item Privacy</label>
<select class="form-control" name="itemPrivacy">
<option value="private">Private</option>
<option value="public">Public</option>
</select>
</div>
</div>
</div>
</div>
<div class="box-footer">
<!-- <button type="submit" class="btn btn-default">Cancel</button> -->
<button type="submit" class="btn btn-primary pull-right">Submit</button>
</div>
</form>
</div>
</div>
</div>
</section>
<!-- /.content -->
</div>
@endsection

View File

@@ -0,0 +1,88 @@
<aside class="main-sidebar">
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar" style="height: auto;">
<!-- Sidebar user panel -->
<div class="user-panel">
<div class="pull-left image">
<img src="{{ config('site_config.uploads') . 'user/default-user.png' }}" class="img-circle" alt="User Image">
</div>
<div class="pull-left info">
<p>{{ Auth::user()->name }}</p>
<a href="{{ url('user/profile/edit') }}" class="btn-link">[ Edit Profile ]</a>
</div>
</div>
<!-- sidebar menu: : style can be found in sidebar.less -->
<ul class="sidebar-menu">
<li class="header">MAIN NAVIGATION</li>
<li class="{{ Request::is('user') ? 'active' : '' }}">
<a href="{{ url('/user') }}">
<i class="fa fa-home"></i> <span>Home</span>
</a>
</li>
<li class="{{ Request::is('user/my-designs') ? 'active' : '' }}">
<a href="{{ url('user/my-designs') }}">
<i class="fa fa-th-list"></i> <span>My Designs</span>
</a>
</li>
<li class="treeview menu-open {{ Request::is('user/address-book', 'user/profile') ? 'active' : '' }}">
<a href="#">
<i class="fa fa-cog"></i> <span>Manage My Account</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li class="{{ Request::is('user/profile') ? 'active' : '' }}">
<a href="{{ url('user/profile') }}"><i class="fa fa-user"></i> My Profile</a>
</li>
<li class="{{ Request::is('user/address-book', 'user/address-book/edit') ? 'active' : '' }}">
<a href="{{ url('user/address-book') }}"><i class="fa fa-address-book-o"></i> Address Book</a>
</li>
</ul>
</li>
@if(Auth::user()->role != "store_owner")
<li class="{{ Request::is('user/orders') ? 'active' : '' }}">
<a href="{{ url('user/orders') }}">
<i class="fa fa-list"></i> <span>Orders</span>
</a>
</li>
@endif
@if(Auth::user()->role == "store_owner")
<li class="{{ Request::is('user/announcement') ? 'active' : '' }}">
<a href="{{ url('user/announcement') }}">
<i class="fa fa-bullhorn"></i> <span>Announcement</span>
</a>
</li>
<li class="treeview menu-open {{ Request::is('user/store-items', 'user/store-settings', 'user/store-orders') ? 'active' : '' }}">
<a href="#">
<i class="fa fa-cog"></i> <span>Team Store</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu" style="">
<li>
<a href="{{ url('user/store') }}"><i class="fa fa-globe"></i> My Store</a>
</li>
<li class="{{ Request::is('user/store-items') ? 'active' : '' }}">
<a href="{{ url('user/store-items') }}"><i class="fa fa-th"></i> Store Items</a>
</li>
<li class="{{ Request::is('user/store-orders') ? 'active' : '' }}">
<a href="{{ url('user/store-orders') }}"><i class="fa fa-list"></i> Store Orders</a>
</li>
<li class="{{ Request::is('user/store-settings') ? 'active' : '' }}">
<a href="{{ url('user/store-settings') }}"><i class="fa fa-cogs"></i> Store Settings</a>
</li>
</ul>
</li>
@endif
<li>
<a href="{{ url('/') }}">
<i class="fa fa-globe"></i> <span>Go to Merchbay Website</span>
</a>
</li>
</ul>
</section>
<!-- /.sidebar -->
</aside>

View File

@@ -0,0 +1,142 @@
@extends('user-layouts.user_template')
@section('content')
<style>
.previewImage{
height: 150px;
width: 95%;
overflow:hidden;
object-fit: contain;
}
</style>
<div class="content-wrapper" style="min-height: 916px;">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Store Order
<!-- <small>Control panel</small> -->
</h1>
<ol class="breadcrumb">
<li><a href="{{ url ('user') }}"><i class="fa fa-home"></i> Home</a></li>
<li class="active">Team Store</li>
<li class="active">Store Orders</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">
Store Order List
</h3>
</div>
<div class="box-body">
<div class="row">
<div class="col-md-3">
<div class="form-group">
<label class="control-label">Select Date From: <span class="required">*</span></label>
<input type="text" name="min" class="form-control datepicker-reports" id="min" placeholder="Select Date" required autocomplete="off"/>
</div>
</div>
<div class="col-md-3">
<div class="form-group">
<label class="control-label">Select Date To: <span class="required">*</span></label>
<input type="text" name="max" class="form-control datepicker-reports" id="max" placeholder="Select Date" required autocomplete="off"/>
</div>
</div>
<div class="col-md-12">
<table class="table table-bordered table-condensed nowrap" id="tbl_store_orders">
<thead>
<tr>
<th>Status</th>
<th>Invoice No.</th>
<th>Product Name</th>
<th>Name</th>
<th>Number</th>
<th>Size</th>
<th>Jersey Size</th>
<th>Short Size</th>
<th>Price</th>
<th>Quantity</th>
<th>#</th>
<th>Payer Email</th>
<th>Payer Fullname</th>
<th>Recipient Name</th>
<th>Address Line 1</th>
<th>Address Line 2</th>
<th>City</th>
<th>State</th>
<th>Postal Code</th>
<th>Country Code</th>
<th>Date Ordered</th>
<th class="text-center">Action</th>
</tr>
</thead>
<tbody>
@foreach($array_store_orders as $item_order)
<tr>
<td>{{ $item_order->StepLabel }}</td>
<td>{{ $item_order->InvoiceNumber }}</td>
<td>{{ $item_order->ProductName }}</td>
<td>{{ $item_order->Name }}</td>
<td>{{ $item_order->Number }}</td>
<td>{{ $item_order->Size }}</td>
<td>{{ $item_order->JerseySize }}</td>
<td>{{ $item_order->ShortsSize }}</td>
<td>{{ $item_order->Price . ' ' . $item_order->Currency }}</td>
<td>{{ $item_order->Quantity }} </td>
<td>{{ date('Y/m/d', strtotime($item_order->DateCreated)) }}</td>
<td>{{ $item_order->Payer_Email }} </td>
<td>{{ $item_order->Payer_Firstname . ' ' . $item_order->Payer_Lastname }} </td>
<td>{{ $item_order->recipient_name }} </td>
<td>{{ $item_order->line1 }} </td>
<td>{{ $item_order->line2 }} </td>
<td>{{ $item_order->city }} </td>
<td>{{ $item_order->state }} </td>
<td>{{ $item_order->postal_code }} </td>
<td>{{ $item_order->country_code }} </td>
<td>{{ date('F j, Y g:i a', strtotime($item_order->DateCreated)) }}</td>
<td class="text-center">
<a href="#" data-pid="{{ $item_order->ProductId }}" data-id="{{ $item_order->Order_Id }}" data-ck="{{ $item_order->CartKey }}" class="btn btn-default btn-xs btn-order-item-details">View Details</a>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
<div class="box-footer">
<!-- <button type="submit" class="btn btn-primary btn-custom-save">Save</button> -->
</div>
<div>
</div>
</div>
</section>
<!-- /.content -->
</div>
<!-- Modal -->
<div class="modal fade" id="modal_store_order_details" role="dialog">
<div class="modal-dialog modal-lg">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</button>
<h4 class="modal-title">Order Details</h4>
</div>
<div class="modal-body">
<div id="modal_store_order_details_body_content">
<p> Loading content <i class="fa fa-spinner fa-spin"></i> </p>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
@endsection

View File

@@ -0,0 +1,87 @@
@extends('user-layouts.user_template')
@section('content')
<style>
.badge-error {
background-color: #b94a48;
}
.product-name-holder{
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
</style>
<div class="content-wrapper" style="min-height: 916px;">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Store Items
<!-- <small>Control panel</small> -->
</h1>
<ol class="breadcrumb">
<li><a href="{{ url ('user') }}"><i class="fa fa-home"></i> Home</a></li>
<!-- <li><a href="{{ url ('user/profile') }}"><i class="fa fa-user"></i> My Profile</a></li> -->
<li class="active">Store Items</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">
Item List
</h3>
</div>
<!-- <form role="form" id="frm-change-password"> -->
<div class="box-body">
<div class="row">
<div class="col-md-12">
<div class="well">
<a href="{{ url('user/store-items/add-item') }}" type="button" class="btn btn-primary">
<i class="fa fa-plus"></i> Add new Item
</a>
<a href="{{ url('user/store-items/re-arrange') }}" class="btn btn-primary"><i class="fa fa-exchange"></i> Re-arrange item</a>
</div>
</div>
<!-- BEGIN PRODUCTS -->
@foreach($product_array as $i => $product)
@foreach($thumbnails as $t => $thumb)
@if($thumb['product_id'] == $product->Id)
@define $storeFolder = $thumb['folder']
@define $filename = $thumb['thumb']
@endif
@endforeach
<div class="col-md-3 col-sm-6">
<div class="thumbnail" >
<a href="{{ url('user/store-items/item') }}/{{ $product->ProductURL }}">
<img style="height:200px" src="{{ config('site_config.images_url') }}/{{ $filename . '?t=' . time() }}" alt="{{ $product->ProductName }}" >
</a>
<hr class="line">
<div class="pull-right">
<div style="text-transform: uppercase;" class="badge @if($product->PrivacyStatus== 'private') badge-error @endif">{{ $product->PrivacyStatus }}</div>
</div>
<h4 class="product-name-holder">{{ $product->ProductName }}<br><small>$ {{ $product->ProductPrice }}</small></h4>
<hr class="line">
<a href="{{ url('user/store-items/item') }}/{{ $product->ProductURL }}" class="btn btn-success btn-block" > View Details</a>
</div>
</div>
@endforeach
</div>
</div>
<div class="box-footer">
<!-- <button type="submit" class="btn btn-primary btn-custom-save">update</button> -->
</div>
<!-- </form> -->
<div>
</div>
</div>
</section>
<!-- /.content -->
</div>
@endsection

View File

@@ -0,0 +1,84 @@
@extends('user-layouts.user_template')
@section('content')
<style>
.badge-error {
background-color: #b94a48;
}
.product-name-holder{
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
#item_list_sort{
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-gap: 10px;
}
</style>
<div class="content-wrapper" style="min-height: 916px;">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Store Item Arrangement
<!-- <small>Control panel</small> -->
</h1>
<ol class="breadcrumb">
<li><a href="{{ url ('user') }}"><i class="fa fa-home"></i> Home</a></li>
<!-- <li><a href="{{ url ('user/profile') }}"><i class="fa fa-user"></i> My Profile</a></li> -->
<li class="active">Store Item Arrangement</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">
Item List
</h3>
</div>
<div class="box-body">
<div class="row">
<div class="col-md-12">
<div class="well">
<button type="button" id="btn_save_item_sorting" class="btn btn-primary">
Save Changes
</button>
<a href="{{ url('user/store-items') }}" class="btn btn-default"> Cancel</a>
</div>
</div>
</div>
<div id="item_list_sort">
@foreach($product_array as $i => $product)
@foreach($thumbnails as $t => $thumb)
@if($thumb['product_id'] == $product->Id)
@define $storeFolder = $thumb['folder']
@define $filename = $thumb['thumb']
@endif
@endforeach
<div id="{{ 'order_number_' . $product->Id }}">
<div class="thumbnail" >
<a href="#">
<img style="height:200px" src="{{ config('site_config.images_url') }}/{{ $filename . '?t=' . time() }}" alt="{{ $product->ProductName }}" >
</a>
<hr class="line">
<div class="pull-right">
<div style="text-transform: uppercase;" class="badge @if($product->PrivacyStatus== 'private') badge-error @endif">{{ $product->PrivacyStatus }}</div>
</div>
<h4 class="product-name-holder">{{ $product->ProductName }}<br><small>$ {{ $product->ProductPrice }}</small></h4>
</div>
</div>
@endforeach
</div>
</div>
<div>
</div>
</div>
</section>
<!-- /.content -->
</div>
@endsection

View File

@@ -0,0 +1,120 @@
@extends('user-layouts.user_template')
@section('content')
<div class="content-wrapper" style="min-height: 916px;">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Store Setting
<!-- <small>Control panel</small> -->
</h1>
<ol class="breadcrumb">
<li><a href="{{ url ('user') }}"><i class="fa fa-home"></i> Home</a></li>
<li class="active">Store Setting</li>
</ol>
</section>
<!-- Main content -->
<section class="content container-fluid">
<div class="row">
<div class="col-md-12">
<div class="box">
<form class="form-horizontal" id="frm_edit_store" enctype="multipart/form-data">
<div class="box-header with-border">
<h4 class="box-title">Edit Store</h4>
</div>
<div class="box-body">
<div id="edit_store_msg"></div>
<div class="col-lg-8 col-sm-8">
<div class="form-group">
<label class="col-sm-4 control-label">Store Name</label>
<div class="col-sm-8">
<input type="text" class="form-control" id="store_name" value="{{ $store_array[0]->StoreName }}" name="store_name" placeholder="Store Name" reqiured="required" />
</div>
</div>
<div class="form-group">
<label class="col-sm-4 control-label">Store URL</label>
<div class="col-sm-8">
<input type="text" class="form-control" id="store_url" value="{{ $store_array[0]->StoreUrl }}" name="store_url" placeholder="Store URL" reqiured="required" />
<input type="hidden" class="form-control" value="{{ $store_array[0]->StoreUrl }}" name="orig_store_url" reqiured="required" />
</div>
</div>
<div class="form-group">
<label class="col-sm-4 control-label">With Password</label>
<div class="col-sm-8">
<input type="checkbox" @if($store_array[0]->Password != null) checked @endif id="with_password_opt" name="set_store_password" data-toggle="toggle" data-width="100px" data-on="<i class='fa fa-check-circle'></i> Yes" data-off="<i class='fa fa-ban'></i> No" data-size="small">
</div>
</div>
<div class="form-group store-password-field" style="display: @if($store_array[0]->Password != null) block; @else none; @endif">
<label class="col-sm-4 control-label">Password</label>
<div class="col-sm-8">
<input type="text" class="form-control" name="store_password" value="{{ $store_array[0]->Password }}" placeholder="Store Password" reqiured="required" />
</div>
</div>
<div class="form-group">
<label class="col-sm-4 control-label">Store Logo</label>
<div class="col-sm-8">
<input type="file" data-use-id="img_store_logo" class="form-control upload_img" name="store_logo" placeholder="Store Logo" reqiured="required" />
<input type="hidden" class="form-control" value="{{ $store_array[0]->StoreLogo }}" name="orig_store_logo" reqiured="required" />
<small><i style="color: red;">Size: H:300px - W:300px</i></small>
</div>
</div>
<div class="form-group" >
<label class="col-sm-4 control-label"></label>
<div class="col-sm-8">
<p>Store Logo Preview:</p>
<div class="store-logo-holder">
<a href="{{ config('site_config.uploads') . 'teamstore/' . $store_array[0]->ImageFolder . '/' . $store_array[0]->StoreLogo }}?v={{ time() }}" class="img_store_logo_href" data-toggle="lightbox">
<img class="img_store_logo_img" id="img_store_logo" src="{{ config('site_config.uploads') . 'teamstore/' . $store_array[0]->ImageFolder . '/' . $store_array[0]->StoreLogo }}?v={{ time() }}" style="max-width: 100%; max-height: 100%; ">
</a>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-4 control-label">Store Banner</label>
<div class="col-sm-8">
<input type="file" class="form-control upload_img" data-use-id="img_store_banner" name="store_banner" placeholder="Store Banner" reqiured="required" />
<input type="hidden" class="form-control" value="{{ $store_array[0]->StoreBanner }}" name="orig_store_banner" reqiured="required" />
<small><i style="color: red;">Size: H:1140px - W:128px</i></small>
</div>
</div>
<div class="form-group">
<label class="col-sm-4 control-label"></label>
<div class="col-sm-8">
<p>Store Banner Preview:</p>
<div class="store-banner-holder">
<a href="{{ config('site_config.uploads') . 'teamstore/' . $store_array[0]->ImageFolder . '/' . $store_array[0]->StoreBanner }}?v={{ time() }}" class="img_store_banner_href" data-toggle="lightbox">
<img class="img_store_banner_img" id="img_store_banner" src="{{ config('site_config.uploads') . 'teamstore/' . $store_array[0]->ImageFolder . '/' . $store_array[0]->StoreBanner }}?v={{ time() }}" style="max-width: 100%; max-height: 100%;">
</a>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-4 control-label">Store Status</label>
<div class="col-sm-8">
<select class="form-control" name="store_status">
<option @if($store_array[0]->IsActive == "false") selected @endif>Private</option>
<option @if($store_array[0]->IsActive == "true") selected @endif >Public</option>
</select>
</div>
</div>
</div>
</div>
<div class="box-footer">
<div class="col-sm-8">
<div class="form-group">
<label class="col-sm-4 control-label">&nbsp;</label>
<div class="col-sm-8">
<button type="submit" id="btn_update_store" class="btn btn-primary">Save Changes</button>
<a href="{{ url('user') }}" type="button" class="btn btn-default">Cancel</a>
</div>
</div>
</div>
</div>
</form>
</div><!-- box -->
</div>
</div>
</section>
<!-- /.content -->
</div>
@endsection

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,111 @@
@extends('user-layouts.user_template')
@section('content')
<style>
.hide-bullets {
list-style:none;
margin-left: -40px;
margin-top:20px;
}
</style>
<div class="content-wrapper" style="min-height: 916px;">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
My Designs
<small>{{ $array_client_designs[0]->DesignName }}</small>
</h1>
<ol class="breadcrumb">
<li><a href="{{ url('user') }}"><i class="fa fa-home"></i> Home</a></li>
<li><a href="{{ url('user/my-designs') }}"><i class="fa fa-th-list"></i> My Designs</a></li>
<li class="active">{{ $array_client_designs[0]->DesignName }} </li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-md-7">
<div class="box box-primary">
<div class="box-header with-border">
<!-- <a href="{{ url('designer/edit') }}/{{ $array_client_designs[0]->DesignCode }}" type="button" class="btn btn-default pull-right" style="margin-left: 5px;"><i class="fa fa-edit"></i> Edit Design</a>
<button type="button" data-dd="{{ $array_client_designs[0]->DesignCode }}" data-port="{{ $array_cat_name[0]->Port }}" class="btn btn-warning pull-right" id="btn-reload-thumbnails"><i class="fa fa-refresh"></i> Reload Image Thumbnails</button> -->
</div>
<div class="box-body custom-box-body">
<div class="row">
<div class="col-md-12">
<div class="thumb-content">
<div class="row">
<div class="col-md-12 text-center">
@foreach($array_client_designs as $row)
@foreach($array_template_paths as $key => $row1)
@if($key == 0)
<img src="{{ config('site_config.images_url') }}/{{ $row->DesignCode }}-front-thumbnail.png" alt="{{ $row->DesignName }}" id="main-thumbnail" class="img img-responsive">
@endif
@endforeach
@endforeach
</div>
</div>
<div class="row">
<div class="col-md-12">
<ul class="hide-bullets">
@foreach($array_client_designs as $row)
@foreach($array_template_paths as $key => $row1)
@if($key == 0)
<li class="col-sm-3 col-xs-3">
<a class="thumbnail a_thumbnail active">
<img class="img img-responsive product-center image-thumbnails" style="height: 59.45px;" src="{{ config('site_config.images_url') }}/{{ $row->DesignCode }}-front-thumbnail.png"/>
</a>
</li>
@else
<li class="col-sm-3 col-xs-3">
<a class="thumbnail a_thumbnail">
<img class="img img-responsive product-center image-thumbnails" style="height: 59.45px;" src="{{ config('site_config.images_url') }}/{{ $row->DesignCode }}-{{ strtolower($row1->Side) }}-thumbnail.png"/>
</a>
</li>
@endif
@endforeach
@endforeach
</ul>
</div>
</div>
</div>
</div>
<!-- <div class="col-md-5">
asdasdadadsaad
</div> -->
</div>
</div>
</div>
</div>
<div class="col-md-5">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">
Design Details
</h3>
</div>
<form id="frm-design-details">
<input type="hidden" name="design_code" class="form-control" value="{{ $array_client_designs[0]->DesignCode }}">
<div class="box-body custom-box-body">
<div class="row">
<div class="col-md-12">
<div class="form-group">
<label>Design Name</label>
<input type="text" name="design_name" class="form-control" value="{{ $array_client_designs[0]->DesignName }}" placeholder="Enter design name">
</div>
</div>
</div>
</div>
<div class="box-footer">
<!-- <button type="submit" class="btn btn-default">Cancel</button> -->
<button type="submit" class="btn btn-primary pull-right">Save changes</button>
</div>
</form>
</div>
</div>
</div>
</section>
<!-- /.content -->
</div>
@endsection

View File

@@ -0,0 +1,267 @@
@extends('user-layouts.user_template')
@section('content')
<style>
.hide-bullets {
list-style:none;
margin-left: -40px;
margin-top:20px;
}
</style>
<div class="content-wrapper" style="min-height: 916px;">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Store Item
<small>{{ $product_array[0]->ProductName }}</small>
</h1>
<ol class="breadcrumb">
<li><a href="{{ url('user') }}"><i class="fa fa-home"></i> Home</a></li>
<li><a href="{{ url('user/store-items') }}"><i class="fa fa-th"></i> Store Items</a></li>
<li class="active">{{ $product_array[0]->ProductName }}</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-md-7">
<div class="box box-primary">
<div class="box-header with-border">
<button type="button" class="btn btn-default pull-right" data-toggle="modal" data-target="#myModal">Re-arrange / Delete thumbnail</button>
<button type="button" class="btn btn-danger pull-right" id="btn_delete_store_id" style="margin-right: 5px;" data-id="{{ $product_array[0]->Id }}">Delete this Item</button>
</div>
<div class="box-body custom-box-body">
<div class="row">
<div class="col-md-12">
<div class="row">
<div class="col-md-12 text-center">
@foreach($thumbnails_array as $thumbnail)
@if($thumbnail->ImageClass == 'active')
<img style="height:400px" src="{{ config('site_config.images_url') }}/{{ $thumbnail->Image . '?t=' . time() }}" id="main-thumbnail">
@endif
@endforeach
</div>
</div>
<div class="row">
<div class="col-md-12">
<ul class="hide-bullets">
<li class="col-sm-3 col-xs-4">
<a class="thumbnail btn-add-thumbnail" style="border-bottom-left-radius: 0px; border-botomt-right-radius: 0px; margin-bottom: -28px; cursor: pointer;">
<!-- <span class="close">&times;</span> -->
<img class="img img-responsive product-center " style="height: 65.45px;" src="{{ asset('/public/images/add-new-img.svg') }}"/>
<!-- <p class="center">Add Image</p> -->
<p class="text-center">
Add Image
</p>
</a>
</li>
@foreach($thumbnails_array as $thumbnail)
<li class="col-sm-3 col-xs-4">
<a class="thumbnail a_thumbnail {{ $thumbnail->ImageClass }}" style="border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; margin-bottom: -28px;">
<!-- <span class="close">&times;</span> -->
<img class="img img-responsive product-center image-thumbnails" style="height: 59.45px;" src="{{ config('site_config.images_url') }}/{{ $thumbnail->Image . '?t=' . time() }}"/>
</a>
<div class="funkyradio">
<div class="funkyradio-primary">
<input type="radio" id="{{ 'radio-' .$thumbnail->Id }}" data-product-id="{{ $product_array[0]->Id }}" data-id="{{ $thumbnail->Id }}" name="setActive" @if($thumbnail->ImageClass != null) checked @endif />
<label for="{{ 'radio-' .$thumbnail->Id }}" style="border-top-left-radius: 0px; border-top-right-radius: 0px;">active</label>
</div>
</div>
</li>
@endforeach
</ul>
</div>
</div>
</div>
<!-- <div class="col-md-5">
asdasdadadsaad
</div> -->
</div>
</div>
</div>
</div>
<div class="col-md-5">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">
Item Details
</h3>
</div>
<form id="frm-item-details">
<!-- <input type="hidden" name="design_code" class="form-control" value=""> -->
<div class="box-body custom-box-body">
<div class="row">
<div class="col-md-12">
<input type="hidden" class="form-control" name="item_url" value="{{ $product_array[0]->ProductURL }}" placeholder="Item Name">
<div class="form-group">
<label>Item Name</label>
<input type="text" class="form-control" name="itemName" value="{{ $product_array[0]->ProductName }}" placeholder="Item Name">
</div>
<div class="form-group">
<label>Item Desription</label>
<textarea class="form-control" name="itemDescription">{{ $product_array[0]->ProductDescription }}</textarea>
</div>
<!-- <div class="form-group">
<div class="checkbox checkbox-inline">
<input type="checkbox" class="styled" id="sale_chk" name="sale_chk" checked >
<label for="sale_chk"> Sell Item</label>
</div>
<div class="checkbox checkbox-inline">
<input type="checkbox" class="styled" id="publish_chk" name="publish_chk" >
<label for="publish_chk"> Publish Design</label>
</div>
</div> -->
<div class="form-group">
<label>Item Price</label>
<input id="item_price" name="item_price" class="form-control price_format" type="text" value="{{ $product_array[0]->ProductPrice }}" data-error="#err-price" />
</div>
<div class="form-group">
<label>Item Form</label>
<select class="form-control" name="itemForm">
<option value="jersey-and-shorts-form" @if($product_array[0]->ProductForm == "jersey-and-shorts-form") selected @endif>Jersey and Shorts Form</option>
<option value="tshirt-form" @if($product_array[0]->ProductForm == "tshirt-form") selected @endif>T-Shirt 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-size-form" @if($product_array[0]->ProductForm == "name-number-size-form") selected @endif>Name, Number and Size 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="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="number-jersey-shorts-form" @if($product_array[0]->ProductForm == "number-jersey-shorts-form") selected @endif>Number, Jersey and Shorts Form</option>
</select>
</div>
<div class="form-group">
<label>Available Size</label>
<select class="form-control select2" data-error="#err_available_size" data-placeholder="Select Size" name="available_size[]" multiple="multiple" required>
<option value="toddler" @if(in_array("toddler", $available_size)) selected @endif>Toddler</option>
<option value="youth" @if(in_array("youth", $available_size)) selected @endif>Youth</option>
<option value="adult" @if(in_array("adult", $available_size)) selected @endif>Adult</option>
<option value="mask" @if(in_array("mask", $available_size)) selected @endif>Mask</option>
<option value="gaiter" @if(in_array("gaiter", $available_size)) selected @endif>Gaiter</option>
<option value="buckethat" @if(in_array("buckethat", $available_size)) selected @endif>Buckethat</option>
<option value="none" @if(in_array("none", $available_size)) selected @endif>None</option>
</select>
<span id="err_available_size"></span>
</div>
<div class="form-group">
<label>Item Privacy</label>
<select class="form-control" name="item_privacy">
<option value="public" @if($product_array[0]->PrivacyStatus == "public") selected @endif>Public</option>
<option value="private" @if($product_array[0]->PrivacyStatus == "private") selected @endif>Private</option>
</select>
</div>
<div class="form-group">
<label>Select Shipping Category</label>
<select class="form-control" name="shipping_cost" required>
<option value="0">None</option>
@foreach ($shipping_cost as $sc)
<option value="{{ $sc->Id }}" @if($sc->Id == $product_array[0]->ShippingCostId) selected @endif>{{ $sc->DisplayName }}</option>
@endforeach
</select>
<span id="err_available_size"></span>
</div>
</div>
</div>
</div>
<div class="box-footer">
<!-- <button type="submit" class="btn btn-default">Cancel</button> -->
<button type="submit" class="btn btn-primary pull-right">Save changes</button>
</div>
</form>
</div>
</div>
</div>
</section>
<!-- /.content -->
</div>
<!-- Modal -->
<div class="modal fade" id="myModal" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</button>
<h4 class="modal-title">Item Images</h4>
</div>
<div class="modal-body">
<table class="table table-bordered table-condensed">
<thead>
<tr>
<th></th>
<th>Image</th>
<th class="col-sm-2 text-center">Action</th>
</tr>
</thead>
<tbody id="sortable">
@foreach($thumbnails_array as $thumbnail)
<tr id="{{ 'item-' . $thumbnail->Id }}">
<td class="text-center" style="width: 50px"><i class="fa fa-bars"></i></td>
<td><img class="img img-responsive product-center" style="height: 59.45px;" src="{{ config('site_config.images_url') }}/{{ $thumbnail->Image . '?t=' . time() }}"/></td>
<td class="text-center">
<!-- <button class="btn btn-default btn-xs btn-edit-clipart" data-id="#"><i class="fa fa-edit"></i></button> -->
<button class="btn btn-default btn-sm btn-delete-item-image" data-id="{{ $thumbnail->Id }}" data-filename="{{ $thumbnail->Image }}" title="Delete Image"><i class="fa fa-trash"></i></button>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" id="btn_save_thumbnail_sorting">Save Changes</button>
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="modal_add_thumbnail" role="dialog">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<form id="frm_add_new_images">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</button>
<h4 class="modal-title">Add Image</h4>
</div>
<div class="modal-body">
<div class="row grid-divider">
<div class="col-sm-4">
<div class="col-padding">
<h3>Select Image(s)</h3>
<div class="form-group">
<input type="hidden" name="_id" value="{{ $product_array[0]->Id }}" />
<input type="file" class="form-control" id="upload_images" name="upload_images[]" multiple accept="image/*" />
</div>
<div class="form-group">
<button type="button" id="clear_frm_add_new_images" class="btn btn-default btn-block">Clear</button>
</div>
</div>
</div>
<div class="col-sm-8">
<div class="col-padding">
<h3>Preview</h3>
<div class="col-md-12">
<ul class="hide-bullets small-preview-thumb">
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="submit" id="btn_submit_new_item_image" class="btn btn-primary">Submit</button>
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</form>
</div>
</div>
</div>
@endsection