added hibernate
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
namespace App\Http\Controllers\Auth;
|
namespace App\Http\Controllers\Auth;
|
||||||
|
|
||||||
use App\User;
|
use App\User;
|
||||||
use Validator;
|
use Illuminate\Support\Facades\Validator;
|
||||||
use App\Http\Controllers\Controller;
|
use App\Http\Controllers\Controller;
|
||||||
use Illuminate\Foundation\Auth\ThrottlesLogins;
|
use Illuminate\Foundation\Auth\ThrottlesLogins;
|
||||||
use Illuminate\Foundation\Auth\AuthenticatesAndRegistersUsers;
|
use Illuminate\Foundation\Auth\AuthenticatesAndRegistersUsers;
|
||||||
|
|||||||
@@ -8,20 +8,22 @@ use App\Http\Requests;
|
|||||||
use App\Http\Controllers\Controller;
|
use App\Http\Controllers\Controller;
|
||||||
use App\Models\admin\AdminModel;
|
use App\Models\admin\AdminModel;
|
||||||
use Illuminate\Support\Facades\Storage;
|
use Illuminate\Support\Facades\Storage;
|
||||||
use Validator;
|
use Illuminate\Support\Facades\Validator;
|
||||||
|
// use Validator;
|
||||||
use App\User;
|
use App\User;
|
||||||
|
|
||||||
|
|
||||||
class AdminController extends Controller
|
class AdminController extends Controller
|
||||||
|
|
||||||
{
|
{
|
||||||
public function dashboard(){
|
public function dashboard()
|
||||||
|
{
|
||||||
|
|
||||||
return view('admin_pages.dashboard');
|
return view('admin_pages.dashboard');
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function orders(){
|
public function orders()
|
||||||
|
{
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
$array_payment_details = $AdminModel->selectPaymentDetails('All', null);
|
$array_payment_details = $AdminModel->selectPaymentDetails('All', null);
|
||||||
// var_dump($array_payment_details);
|
// var_dump($array_payment_details);
|
||||||
@@ -29,7 +31,8 @@ class AdminController extends Controller
|
|||||||
->with('array_payment_details', $array_payment_details);
|
->with('array_payment_details', $array_payment_details);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function viewOrders($ck){
|
public function viewOrders($ck)
|
||||||
|
{
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
$order_item_array = $AdminModel->selectOrderItem('CartKey', $ck);
|
$order_item_array = $AdminModel->selectOrderItem('CartKey', $ck);
|
||||||
$item_goup_array = $AdminModel->itemGroup($ck);
|
$item_goup_array = $AdminModel->itemGroup($ck);
|
||||||
@@ -50,12 +53,14 @@ class AdminController extends Controller
|
|||||||
->with('array_shipping_add', $array_shipping_add);
|
->with('array_shipping_add', $array_shipping_add);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function createStore(){
|
public function createStore()
|
||||||
|
{
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
return view('admin_pages.create_store');
|
return view('admin_pages.create_store');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function printOrder($ck){
|
public function printOrder($ck)
|
||||||
|
{
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
// $array_shipping_add = null;
|
// $array_shipping_add = null;
|
||||||
$order_item_array = $AdminModel->selectOrderItem('CartKey', $ck);
|
$order_item_array = $AdminModel->selectOrderItem('CartKey', $ck);
|
||||||
@@ -70,11 +75,10 @@ class AdminController extends Controller
|
|||||||
->with('item_goup_array', $item_goup_array)
|
->with('item_goup_array', $item_goup_array)
|
||||||
->with('order_item_array', $order_item_array)
|
->with('order_item_array', $order_item_array)
|
||||||
->with('array_shipping_add', $array_shipping_add);
|
->with('array_shipping_add', $array_shipping_add);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function downloadPrintFile_tshirt($dc, $id){
|
public function downloadPrintFile_tshirt($dc, $id)
|
||||||
|
{
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
$client_design_array = $AdminModel->selectClientDesign($dc);
|
$client_design_array = $AdminModel->selectClientDesign($dc);
|
||||||
$order_item_array = $AdminModel->selectOrderItem('Id', $id);
|
$order_item_array = $AdminModel->selectOrderItem('Id', $id);
|
||||||
@@ -82,11 +86,10 @@ class AdminController extends Controller
|
|||||||
return view('admin_pages.download_pages.tshirt')
|
return view('admin_pages.download_pages.tshirt')
|
||||||
->with('client_design_array', $client_design_array)
|
->with('client_design_array', $client_design_array)
|
||||||
->with('order_item_array', $order_item_array);
|
->with('order_item_array', $order_item_array);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function downloadPrintFile_jersey($dc, $id){
|
public function downloadPrintFile_jersey($dc, $id)
|
||||||
|
{
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
$client_design_array = $AdminModel->selectClientDesign($dc);
|
$client_design_array = $AdminModel->selectClientDesign($dc);
|
||||||
$order_item_array = $AdminModel->selectOrderItem('Id', $id);
|
$order_item_array = $AdminModel->selectOrderItem('Id', $id);
|
||||||
@@ -94,10 +97,10 @@ class AdminController extends Controller
|
|||||||
return view('admin_pages.download_pages.jersey')
|
return view('admin_pages.download_pages.jersey')
|
||||||
->with('client_design_array', $client_design_array)
|
->with('client_design_array', $client_design_array)
|
||||||
->with('order_item_array', $order_item_array);
|
->with('order_item_array', $order_item_array);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function downloadPrintFile_mask($dc, $id){
|
public function downloadPrintFile_mask($dc, $id)
|
||||||
|
{
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
$client_design_array = $AdminModel->selectClientDesign($dc);
|
$client_design_array = $AdminModel->selectClientDesign($dc);
|
||||||
$order_item_array = $AdminModel->selectOrderItem('Id', $id);
|
$order_item_array = $AdminModel->selectOrderItem('Id', $id);
|
||||||
@@ -110,7 +113,8 @@ class AdminController extends Controller
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
public function download(Request $request){
|
public function download(Request $request)
|
||||||
|
{
|
||||||
$post = $request->all();
|
$post = $request->all();
|
||||||
$svgText = $post['svgText'];
|
$svgText = $post['svgText'];
|
||||||
$filename = $post['filename'];
|
$filename = $post['filename'];
|
||||||
@@ -120,7 +124,8 @@ class AdminController extends Controller
|
|||||||
print "$svgText";
|
print "$svgText";
|
||||||
}
|
}
|
||||||
|
|
||||||
public function saveNewStore(Request $request){
|
public function saveNewStore(Request $request)
|
||||||
|
{
|
||||||
$post = $request->all();
|
$post = $request->all();
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
|
|
||||||
@@ -144,16 +149,18 @@ class AdminController extends Controller
|
|||||||
'StoreUrl' => $store_url
|
'StoreUrl' => $store_url
|
||||||
);
|
);
|
||||||
|
|
||||||
$validator = Validator::make($check_store_url, [
|
$validator = Validator::make(
|
||||||
|
$check_store_url,
|
||||||
|
[
|
||||||
'StoreUrl' => 'unique:teamstores'
|
'StoreUrl' => 'unique:teamstores'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'StoreUrl.unique' => 'The Store URL has already been taken.',
|
'StoreUrl.unique' => 'The Store URL has already been taken.',
|
||||||
]);
|
]
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
if ($validator->fails())
|
if ($validator->fails()) {
|
||||||
{
|
|
||||||
$errors = "";
|
$errors = "";
|
||||||
|
|
||||||
foreach ($validator->errors()->all() as $error) {
|
foreach ($validator->errors()->all() as $error) {
|
||||||
@@ -198,7 +205,6 @@ class AdminController extends Controller
|
|||||||
'clearform' => true,
|
'clearform' => true,
|
||||||
'message' => 'Store is successfully created.'
|
'message' => 'Store is successfully created.'
|
||||||
));
|
));
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
return response()->json(array(
|
return response()->json(array(
|
||||||
'success' => false,
|
'success' => false,
|
||||||
@@ -206,10 +212,10 @@ class AdminController extends Controller
|
|||||||
'message' => 'Something went wrong. Please refresh the page and try again.'
|
'message' => 'Something went wrong. Please refresh the page and try again.'
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function storeList(){
|
public function storeList()
|
||||||
|
{
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
$q = null;
|
$q = null;
|
||||||
$sort = null;
|
$sort = null;
|
||||||
@@ -237,7 +243,6 @@ class AdminController extends Controller
|
|||||||
// sort only
|
// sort only
|
||||||
$teamstore_array = $AdminModel->selectTeamstoreFilter($field, $sort_value);
|
$teamstore_array = $AdminModel->selectTeamstoreFilter($field, $sort_value);
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
// first load
|
// first load
|
||||||
$teamstore_array = $AdminModel->selectTeamstore();
|
$teamstore_array = $AdminModel->selectTeamstore();
|
||||||
@@ -247,22 +252,22 @@ class AdminController extends Controller
|
|||||||
->with('teamstore_array', $teamstore_array)
|
->with('teamstore_array', $teamstore_array)
|
||||||
->with('keyword', $q)
|
->with('keyword', $q)
|
||||||
->with('filter', $sort);
|
->with('filter', $sort);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function viewStore($id){
|
public function viewStore($id)
|
||||||
|
{
|
||||||
|
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
$teamstore_array = $AdminModel->selectTeamstoreById($id);
|
$teamstore_array = $AdminModel->selectTeamstoreById($id);
|
||||||
$store_owners_array = $AdminModel->selectStoreOwners($id);
|
$store_owners_array = $AdminModel->selectStoreOwners($id);
|
||||||
|
|
||||||
// var_dump($store_owners_array);
|
|
||||||
return view('admin_pages.edit_store')
|
return view('admin_pages.edit_store')
|
||||||
->with('teamstore_array', $teamstore_array)
|
->with('teamstore_array', $teamstore_array)
|
||||||
->with('store_owners_array', $store_owners_array);
|
->with('store_owners_array', $store_owners_array);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function updateStore(Request $request){
|
public function updateStore(Request $request)
|
||||||
|
{
|
||||||
$post = $request->all();
|
$post = $request->all();
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
|
|
||||||
@@ -304,16 +309,18 @@ class AdminController extends Controller
|
|||||||
'StoreUrl' => $store_url
|
'StoreUrl' => $store_url
|
||||||
);
|
);
|
||||||
|
|
||||||
$validator = Validator::make($check_store_url, [
|
$validator = Validator::make(
|
||||||
|
$check_store_url,
|
||||||
|
[
|
||||||
'StoreUrl' => 'unique:teamstores'
|
'StoreUrl' => 'unique:teamstores'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'StoreUrl.unique' => 'The Store URL has already been taken.',
|
'StoreUrl.unique' => 'The Store URL has already been taken.',
|
||||||
]);
|
]
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
if ($validator->fails())
|
if ($validator->fails()) {
|
||||||
{
|
|
||||||
$errors = "";
|
$errors = "";
|
||||||
|
|
||||||
foreach ($validator->errors()->all() as $error) {
|
foreach ($validator->errors()->all() as $error) {
|
||||||
@@ -326,9 +333,6 @@ class AdminController extends Controller
|
|||||||
'message' => $errors
|
'message' => $errors
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$data = array(
|
$data = array(
|
||||||
@@ -373,7 +377,8 @@ class AdminController extends Controller
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function deleteStore(Request $request){
|
public function deleteStore(Request $request)
|
||||||
|
{
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
$post = $request->all();
|
$post = $request->all();
|
||||||
$teamstore_array = $AdminModel->selectTeamstoreById($post['id']);
|
$teamstore_array = $AdminModel->selectTeamstoreById($post['id']);
|
||||||
@@ -392,8 +397,6 @@ class AdminController extends Controller
|
|||||||
'message' => 'Something went wrong. Please refresh the page and try again.'
|
'message' => 'Something went wrong. Please refresh the page and try again.'
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
return response()->json(array(
|
return response()->json(array(
|
||||||
'success' => false,
|
'success' => false,
|
||||||
@@ -403,7 +406,8 @@ class AdminController extends Controller
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function overlayPattern(){
|
public function overlayPattern()
|
||||||
|
{
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
$pattern_array = $AdminModel->selectPattern();
|
$pattern_array = $AdminModel->selectPattern();
|
||||||
|
|
||||||
@@ -411,7 +415,8 @@ class AdminController extends Controller
|
|||||||
->with('pattern_array', $pattern_array);
|
->with('pattern_array', $pattern_array);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function viewOverlayPattern($id){
|
public function viewOverlayPattern($id)
|
||||||
|
{
|
||||||
|
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
$pattern_array = $AdminModel->selectPatternWithfield('Id', $id);
|
$pattern_array = $AdminModel->selectPatternWithfield('Id', $id);
|
||||||
@@ -420,7 +425,8 @@ class AdminController extends Controller
|
|||||||
->with('pattern_array', $pattern_array);
|
->with('pattern_array', $pattern_array);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function viewReports(){
|
public function viewReports()
|
||||||
|
{
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
|
|
||||||
$array_store_orders = $AdminModel->selectStoreOrders();
|
$array_store_orders = $AdminModel->selectStoreOrders();
|
||||||
@@ -429,7 +435,8 @@ class AdminController extends Controller
|
|||||||
->with('array_store_orders', $array_store_orders);
|
->with('array_store_orders', $array_store_orders);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function addClipart(){
|
public function addClipart()
|
||||||
|
{
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
$clipart_categories_array = $AdminModel->selectClipartCategory();
|
$clipart_categories_array = $AdminModel->selectClipartCategory();
|
||||||
|
|
||||||
@@ -437,7 +444,8 @@ class AdminController extends Controller
|
|||||||
->with('clipart_categories_array', $clipart_categories_array);
|
->with('clipart_categories_array', $clipart_categories_array);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function saveClipartCategory(Request $request){
|
public function saveClipartCategory(Request $request)
|
||||||
|
{
|
||||||
$post = $request->all();
|
$post = $request->all();
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
|
|
||||||
@@ -455,7 +463,6 @@ class AdminController extends Controller
|
|||||||
'message' => 'Clipart Category is successfully added.',
|
'message' => 'Clipart Category is successfully added.',
|
||||||
'last_inserted_id' => $res
|
'last_inserted_id' => $res
|
||||||
));
|
));
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
return response()->json(array(
|
return response()->json(array(
|
||||||
'success' => false,
|
'success' => false,
|
||||||
@@ -465,7 +472,8 @@ class AdminController extends Controller
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function saveSVGClipart(Request $request){
|
public function saveSVGClipart(Request $request)
|
||||||
|
{
|
||||||
$post = $request->all();
|
$post = $request->all();
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
|
|
||||||
@@ -498,7 +506,8 @@ class AdminController extends Controller
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function userList(){
|
function userList()
|
||||||
|
{
|
||||||
|
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
$result = $AdminModel->userList();
|
$result = $AdminModel->userList();
|
||||||
@@ -509,7 +518,8 @@ class AdminController extends Controller
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
function updatUserAsStoreOwner(Request $request){
|
function updatUserAsStoreOwner(Request $request)
|
||||||
|
{
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
|
|
||||||
$data = array(
|
$data = array(
|
||||||
@@ -524,7 +534,8 @@ class AdminController extends Controller
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function removeStoreAccess(Request $request){
|
public function removeStoreAccess(Request $request)
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
@@ -541,7 +552,8 @@ class AdminController extends Controller
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function saveNewStoreOwner(Request $request){
|
public function saveNewStoreOwner(Request $request)
|
||||||
|
{
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
$post = $request->all();
|
$post = $request->all();
|
||||||
|
|
||||||
@@ -551,8 +563,7 @@ class AdminController extends Controller
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
||||||
if ($validator->fails())
|
if ($validator->fails()) {
|
||||||
{
|
|
||||||
$errors = "";
|
$errors = "";
|
||||||
foreach ($validator->errors()->all() as $error) {
|
foreach ($validator->errors()->all() as $error) {
|
||||||
$errors .= "<li>" . $error . "</li>";
|
$errors .= "<li>" . $error . "</li>";
|
||||||
@@ -583,17 +594,18 @@ class AdminController extends Controller
|
|||||||
return response()->json(array(
|
return response()->json(array(
|
||||||
'success' => true
|
'success' => true
|
||||||
));
|
));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function viewClipartCategories(){
|
public function viewClipartCategories()
|
||||||
|
{
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
$clipart_categories_array = $AdminModel->ClipartCategory();
|
$clipart_categories_array = $AdminModel->ClipartCategory();
|
||||||
return view('admin_pages.clipart_categories')
|
return view('admin_pages.clipart_categories')
|
||||||
->with('clipart_categories_array', $clipart_categories_array);
|
->with('clipart_categories_array', $clipart_categories_array);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function deleteClipartCategory(Request $request){
|
public function deleteClipartCategory(Request $request)
|
||||||
|
{
|
||||||
$post = $request->all();
|
$post = $request->all();
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
|
|
||||||
@@ -607,7 +619,8 @@ class AdminController extends Controller
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function saveClipartCatOrdering(Request $request){
|
public function saveClipartCatOrdering(Request $request)
|
||||||
|
{
|
||||||
$post = $request->all();
|
$post = $request->all();
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
|
|
||||||
@@ -623,10 +636,10 @@ class AdminController extends Controller
|
|||||||
'success' => true,
|
'success' => true,
|
||||||
'message' => "Clipart Category ordering is succcessfully updated!"
|
'message' => "Clipart Category ordering is succcessfully updated!"
|
||||||
));
|
));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function updateClipartCategory(Request $request){
|
public function updateClipartCategory(Request $request)
|
||||||
|
{
|
||||||
$post = $request->all();
|
$post = $request->all();
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
|
|
||||||
@@ -652,11 +665,10 @@ class AdminController extends Controller
|
|||||||
'message' => "Something went wrong. Please refresh the page and try again."
|
'message' => "Something went wrong. Please refresh the page and try again."
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function viewClipart(){
|
public function viewClipart()
|
||||||
|
{
|
||||||
|
|
||||||
$clipart_category = request()->get('clipart_category');
|
$clipart_category = request()->get('clipart_category');
|
||||||
|
|
||||||
@@ -670,7 +682,8 @@ class AdminController extends Controller
|
|||||||
->with('selected_clipart_category', $clipart_category);
|
->with('selected_clipart_category', $clipart_category);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function visualizerAdd(){
|
public function visualizerAdd()
|
||||||
|
{
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
$sports_array = $AdminModel->selectSports();
|
$sports_array = $AdminModel->selectSports();
|
||||||
$pattern_array = $AdminModel->selectPattern();
|
$pattern_array = $AdminModel->selectPattern();
|
||||||
@@ -681,7 +694,8 @@ class AdminController extends Controller
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function selectSportsCategory(Request $request){
|
public function selectSportsCategory(Request $request)
|
||||||
|
{
|
||||||
$post = $request->all();
|
$post = $request->all();
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
$sports_category_array = $AdminModel->selectSportsCategory($post['id']);
|
$sports_category_array = $AdminModel->selectSportsCategory($post['id']);
|
||||||
@@ -693,7 +707,8 @@ class AdminController extends Controller
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function getOverlayPattern(){
|
public function getOverlayPattern()
|
||||||
|
{
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
$pattern_array = $AdminModel->selectPattern();
|
$pattern_array = $AdminModel->selectPattern();
|
||||||
return response()->json(array(
|
return response()->json(array(
|
||||||
@@ -702,7 +717,8 @@ class AdminController extends Controller
|
|||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function saveNewVisualizer(Request $request){
|
public function saveNewVisualizer(Request $request)
|
||||||
|
{
|
||||||
$post = $request->all();
|
$post = $request->all();
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
$tmp_arr_visualizer_pattern = array();
|
$tmp_arr_visualizer_pattern = array();
|
||||||
@@ -763,7 +779,6 @@ class AdminController extends Controller
|
|||||||
'DisplayName' => $post['trim_label'][$i]
|
'DisplayName' => $post['trim_label'][$i]
|
||||||
);
|
);
|
||||||
$AdminModel->saveVisualizerDefaultTrimColor($data_def_trim_color);
|
$AdminModel->saveVisualizerDefaultTrimColor($data_def_trim_color);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -807,7 +822,6 @@ class AdminController extends Controller
|
|||||||
);
|
);
|
||||||
|
|
||||||
$AdminModel->saveVisualizerPath($data_back_visualizer);
|
$AdminModel->saveVisualizerPath($data_back_visualizer);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// right saving
|
// right saving
|
||||||
@@ -828,7 +842,6 @@ class AdminController extends Controller
|
|||||||
);
|
);
|
||||||
|
|
||||||
$AdminModel->saveVisualizerPath($data_right_visualizer);
|
$AdminModel->saveVisualizerPath($data_right_visualizer);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// left saving
|
// left saving
|
||||||
@@ -855,11 +868,11 @@ class AdminController extends Controller
|
|||||||
'success' => true,
|
'success' => true,
|
||||||
'message' => "Visualizer is successfully added."
|
'message' => "Visualizer is successfully added."
|
||||||
));
|
));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function generateFileName($filename){
|
public function generateFileName($filename)
|
||||||
|
{
|
||||||
|
|
||||||
$lower_filename = str_replace(' ', '-', strtolower($filename));
|
$lower_filename = str_replace(' ', '-', strtolower($filename));
|
||||||
$getExt = substr($lower_filename, strrpos($lower_filename, '.'));;
|
$getExt = substr($lower_filename, strrpos($lower_filename, '.'));;
|
||||||
@@ -869,7 +882,8 @@ class AdminController extends Controller
|
|||||||
return $final_filename;
|
return $final_filename;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function visualizer(){
|
public function visualizer()
|
||||||
|
{
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
$sports_array = $AdminModel->selectSports();
|
$sports_array = $AdminModel->selectSports();
|
||||||
$pattern_array = $AdminModel->selectPattern();
|
$pattern_array = $AdminModel->selectPattern();
|
||||||
@@ -886,10 +900,10 @@ class AdminController extends Controller
|
|||||||
return view('admin_pages.visualizer')
|
return view('admin_pages.visualizer')
|
||||||
->with('sports_array', $sports_array)
|
->with('sports_array', $sports_array)
|
||||||
->with('visualizer_array', $visualizer_array);
|
->with('visualizer_array', $visualizer_array);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function showStoreOrderDetails(Request $request){
|
function showStoreOrderDetails(Request $request)
|
||||||
|
{
|
||||||
|
|
||||||
$post = $request->all();
|
$post = $request->all();
|
||||||
// var_dump($post['pid']);
|
// var_dump($post['pid']);
|
||||||
@@ -915,7 +929,8 @@ class AdminController extends Controller
|
|||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
function viewVisualizer($id){
|
function viewVisualizer($id)
|
||||||
|
{
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
$sports_array = $AdminModel->selectSports();
|
$sports_array = $AdminModel->selectSports();
|
||||||
$pattern_array = $AdminModel->selectPattern();
|
$pattern_array = $AdminModel->selectPattern();
|
||||||
@@ -937,7 +952,8 @@ class AdminController extends Controller
|
|||||||
->with('template_pattern_array', $template_pattern_array);
|
->with('template_pattern_array', $template_pattern_array);
|
||||||
}
|
}
|
||||||
|
|
||||||
function deleteVisualizer(Request $request){
|
function deleteVisualizer(Request $request)
|
||||||
|
{
|
||||||
$post = $request->all();
|
$post = $request->all();
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
|
|
||||||
@@ -953,12 +969,10 @@ class AdminController extends Controller
|
|||||||
'success' => true,
|
'success' => true,
|
||||||
'message' => "Visualizer is successfully deleted."
|
'message' => "Visualizer is successfully deleted."
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function updateVisualizer(Request $request){
|
public function updateVisualizer(Request $request)
|
||||||
|
{
|
||||||
$post = $request->all();
|
$post = $request->all();
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
$tmp_arr_visualizer_pattern = array();
|
$tmp_arr_visualizer_pattern = array();
|
||||||
@@ -978,7 +992,6 @@ class AdminController extends Controller
|
|||||||
$new_visualizer_thumbnail_filename = $this->generateFileName($orig_visualizer_thumbnail_filename);
|
$new_visualizer_thumbnail_filename = $this->generateFileName($orig_visualizer_thumbnail_filename);
|
||||||
Storage::disk('uploads')->put($template_thumbnail_path . $new_visualizer_thumbnail_filename, fopen($request->file('visualizer_thumbnail'), 'r+'));
|
Storage::disk('uploads')->put($template_thumbnail_path . $new_visualizer_thumbnail_filename, fopen($request->file('visualizer_thumbnail'), 'r+'));
|
||||||
$template_thumbnail = $template_thumbnail_path . $new_visualizer_thumbnail_filename;
|
$template_thumbnail = $template_thumbnail_path . $new_visualizer_thumbnail_filename;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
$template_thumbnail = $post['current_visualizer_thumbnail'];
|
$template_thumbnail = $post['current_visualizer_thumbnail'];
|
||||||
}
|
}
|
||||||
@@ -1021,7 +1034,6 @@ class AdminController extends Controller
|
|||||||
'DisplayName' => $post['trim_label'][$i]
|
'DisplayName' => $post['trim_label'][$i]
|
||||||
);
|
);
|
||||||
$AdminModel->saveVisualizerDefaultTrimColor($data_def_trim_color);
|
$AdminModel->saveVisualizerDefaultTrimColor($data_def_trim_color);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1065,7 +1077,6 @@ class AdminController extends Controller
|
|||||||
);
|
);
|
||||||
|
|
||||||
$AdminModel->updateVisualizerPath($post['back_visualizer_id'], $data_back_visualizer);
|
$AdminModel->updateVisualizerPath($post['back_visualizer_id'], $data_back_visualizer);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
$data_back_visualizer = array(
|
$data_back_visualizer = array(
|
||||||
@@ -1091,7 +1102,6 @@ class AdminController extends Controller
|
|||||||
);
|
);
|
||||||
|
|
||||||
$AdminModel->updateVisualizerPath($post['right_visualizer_id'], $data_right_visualizer);
|
$AdminModel->updateVisualizerPath($post['right_visualizer_id'], $data_right_visualizer);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
$data_right_visualizer = array(
|
$data_right_visualizer = array(
|
||||||
@@ -1117,7 +1127,6 @@ class AdminController extends Controller
|
|||||||
);
|
);
|
||||||
|
|
||||||
$AdminModel->updateVisualizerPath($post['left_visualizer_id'], $data_left_visualizer);
|
$AdminModel->updateVisualizerPath($post['left_visualizer_id'], $data_left_visualizer);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
$data_left_visualizer = array(
|
$data_left_visualizer = array(
|
||||||
'Type' => $post['left_visualizer_type'],
|
'Type' => $post['left_visualizer_type'],
|
||||||
@@ -1131,7 +1140,6 @@ class AdminController extends Controller
|
|||||||
'success' => true,
|
'success' => true,
|
||||||
'message' => "Visualizer is successfully updated."
|
'message' => "Visualizer is successfully updated."
|
||||||
));
|
));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -1154,11 +1162,11 @@ class AdminController extends Controller
|
|||||||
'success' => true,
|
'success' => true,
|
||||||
'message' => "Clipart is successfully deleted."
|
'message' => "Clipart is successfully deleted."
|
||||||
));
|
));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function printFiles(){
|
public function printFiles()
|
||||||
|
{
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
$selectGroupPrintFiles = $AdminModel->selectGroupPrintFiles();
|
$selectGroupPrintFiles = $AdminModel->selectGroupPrintFiles();
|
||||||
|
|
||||||
@@ -1166,7 +1174,8 @@ class AdminController extends Controller
|
|||||||
->with('selectPrintFiles', $selectGroupPrintFiles);
|
->with('selectPrintFiles', $selectGroupPrintFiles);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function uploadPrintFile(){
|
public function uploadPrintFile()
|
||||||
|
{
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
$vilualizer_array = $AdminModel->selectVisualizerPrint();
|
$vilualizer_array = $AdminModel->selectVisualizerPrint();
|
||||||
|
|
||||||
@@ -1200,10 +1209,10 @@ class AdminController extends Controller
|
|||||||
'success' => true,
|
'success' => true,
|
||||||
'message' => "Print Files(s) is successfully uploaded."
|
'message' => "Print Files(s) is successfully uploaded."
|
||||||
));
|
));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function printFilesDetails($tempcode){
|
public function printFilesDetails($tempcode)
|
||||||
|
{
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
$selectPrintFiles = $AdminModel->selectPrintFiles($tempcode);
|
$selectPrintFiles = $AdminModel->selectPrintFiles($tempcode);
|
||||||
|
|
||||||
@@ -1215,7 +1224,8 @@ class AdminController extends Controller
|
|||||||
->with('selectPrintFiles', $selectPrintFiles);
|
->with('selectPrintFiles', $selectPrintFiles);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function printFilesDelete(Request $request){
|
public function printFilesDelete(Request $request)
|
||||||
|
{
|
||||||
$post = $request->all();
|
$post = $request->all();
|
||||||
$AdminModel = new AdminModel;
|
$AdminModel = new AdminModel;
|
||||||
|
|
||||||
@@ -1226,4 +1236,27 @@ class AdminController extends Controller
|
|||||||
'message' => "Print File is successfully deleted."
|
'message' => "Print File is successfully deleted."
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function taxIndex()
|
||||||
|
{
|
||||||
|
$AdminModel = new AdminModel;
|
||||||
|
$selectTax = $AdminModel->selectTax();
|
||||||
|
return view('admin_pages.tax_index')->with("taxLists", $selectTax);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function updateHibernate(Request $request){
|
||||||
|
$post = $request->all();
|
||||||
|
$AdminModel = new AdminModel;
|
||||||
|
|
||||||
|
$data = array(
|
||||||
|
'IsHibernated' => ($post['IsActive'] == 'true') ? 1 : 0
|
||||||
|
);
|
||||||
|
|
||||||
|
$res = $AdminModel->updateTeamstore($post['data'][0]['value'], $data);
|
||||||
|
|
||||||
|
return response()->json(array(
|
||||||
|
'success' => true,
|
||||||
|
'message' => "successfully updated."
|
||||||
|
));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Support\Facades\Route;
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| Application Routes
|
| Application Routes
|
||||||
@@ -86,6 +87,11 @@ Route::group(['middleware' => 'auth'], function () {
|
|||||||
Route::get('orders/download/jersey/{ck}/{id}', 'admin\AdminController@downloadPrintFile_jersey');
|
Route::get('orders/download/jersey/{ck}/{id}', 'admin\AdminController@downloadPrintFile_jersey');
|
||||||
Route::get('orders/download/mask/{ck}/{id}', 'admin\AdminController@downloadPrintFile_mask');
|
Route::get('orders/download/mask/{ck}/{id}', 'admin\AdminController@downloadPrintFile_mask');
|
||||||
// End Download Routes /////////////
|
// End Download Routes /////////////
|
||||||
|
|
||||||
|
Route::get('tax-settings', 'admin\AdminController@taxIndex');
|
||||||
|
Route::post('post/update-hibernate', 'admin\AdminController@updateHibernate');
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
namespace App\Models\admin;
|
namespace App\Models\admin;
|
||||||
|
|
||||||
use Illuminate\Database\Eloquent\Model;
|
use Illuminate\Database\Eloquent\Model;
|
||||||
use DB;
|
use Illuminate\Support\Facades\DB;
|
||||||
|
|
||||||
class AdminModel extends Model
|
class AdminModel extends Model
|
||||||
{
|
{
|
||||||
@@ -490,4 +490,10 @@ class AdminModel extends Model
|
|||||||
return $i;
|
return $i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function selectTax(){
|
||||||
|
$i = DB::select("SELECT t.Id, t.StoreName, tx.DateCreated FROM tax AS tx
|
||||||
|
INNER JOIN teamstores AS t
|
||||||
|
ON t.Id = tx.TeamstoreId");
|
||||||
|
return $i;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -281,6 +281,7 @@ desired effect
|
|||||||
});
|
});
|
||||||
|
|
||||||
$('#store_owners_table').DataTable();
|
$('#store_owners_table').DataTable();
|
||||||
|
|
||||||
$('#tbl_commission').DataTable({
|
$('#tbl_commission').DataTable({
|
||||||
initComplete: function () {
|
initComplete: function () {
|
||||||
this.api().columns(0).every( function () {
|
this.api().columns(0).every( function () {
|
||||||
@@ -1364,11 +1365,41 @@ desired effect
|
|||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
$('#store_hibernate').change(function() {
|
||||||
|
var data = $("#frm_edit_store").serializeArray();
|
||||||
|
$.ajax({
|
||||||
|
type : 'POST',
|
||||||
|
url : "{{ url('admin/post/update-hibernate') }}",
|
||||||
|
data : {
|
||||||
|
data: data,
|
||||||
|
IsActive: $(this).prop('checked')
|
||||||
|
},
|
||||||
|
beforeSend:function(xhr){
|
||||||
|
var token = $('meta[name="csrf_token"]').attr('content');
|
||||||
|
|
||||||
|
if (token) {
|
||||||
|
return xhr.setRequestHeader('X-CSRF-TOKEN', token);
|
||||||
|
}
|
||||||
|
xhr.setRequestHeader( 'X-Requested-With', 'XMLHttpRequest');
|
||||||
|
},
|
||||||
|
success : function(response){
|
||||||
|
// console.log(response);
|
||||||
|
if(response.success){
|
||||||
|
alert(response.message);
|
||||||
|
}else{
|
||||||
|
// $('#isActiveAnnouncement').attr('checked', false);
|
||||||
|
|
||||||
|
$('#isActiveAnnouncement').removeClass('btn-primary');
|
||||||
|
// $(this).addClass('btn-default');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
|
||||||
}); // end document ready
|
}); // end document ready
|
||||||
|
|
||||||
|
|||||||
@@ -86,6 +86,11 @@
|
|||||||
<i class="fa fa-list-alt"></i> <span>Print Orders</span>
|
<i class="fa fa-list-alt"></i> <span>Print Orders</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class="{{ Request::is('admin/tax-settings') ? 'active' : '' }}">
|
||||||
|
<a href="{{ url('/admin/tax-settings') }}">
|
||||||
|
<i class="fa fa-money"></i> <span>Tax Settings</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
@php $under_reports = array("/admin/reports", "/admin/commission") @endphp
|
@php $under_reports = array("/admin/reports", "/admin/commission") @endphp
|
||||||
<li class="treeview {{ (in_array($getrequest_url, $under_reports)) ? 'active' : '' }}">
|
<li class="treeview {{ (in_array($getrequest_url, $under_reports)) ? 'active' : '' }}">
|
||||||
<a href="#"><i class="fa fa-line-chart"></i> <span>Reports</span>
|
<a href="#"><i class="fa fa-line-chart"></i> <span>Reports</span>
|
||||||
|
|||||||
@@ -115,6 +115,14 @@
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-4 control-label">Hibernate</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<div class="checkbox">
|
||||||
|
<input type="checkbox" @if($teamstore_array[0]->IsHibernated == 1) checked @endif id="store_hibernate" name="store_hibernate" 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>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-sm-4 control-label"> </label>
|
<label class="col-sm-4 control-label"> </label>
|
||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
|
|||||||
93
resources/views/admin_pages/tax_index.blade.php
Normal file
93
resources/views/admin_pages/tax_index.blade.php
Normal file
@@ -0,0 +1,93 @@
|
|||||||
|
@extends('admin.main')
|
||||||
|
@section('content')
|
||||||
|
<style>
|
||||||
|
.previewImage {
|
||||||
|
height: 150px;
|
||||||
|
width: 95%;
|
||||||
|
overflow: hidden;
|
||||||
|
object-fit: contain;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<div class="content-wrapper">
|
||||||
|
<!-- Content Header (Page header) -->
|
||||||
|
<section class="content-header">
|
||||||
|
<h1>
|
||||||
|
Tax Settings
|
||||||
|
<!-- <small>Optional description</small> -->
|
||||||
|
</h1>
|
||||||
|
<ol class="breadcrumb">
|
||||||
|
<li><a href="{{ url ('admin') }}"><i class="fa fa-dashboard"></i> Dashboard</a></li>
|
||||||
|
<li class="active"> Tax Settings</li>
|
||||||
|
</ol>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Main content -->
|
||||||
|
<section class="content container-fluid">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<div class="box">
|
||||||
|
<div class="box-header with-border">
|
||||||
|
<h4 class="box-title">Tax Settings</h4>
|
||||||
|
<button class="btn btn-primary pull-right" data-toggle="modal" data-target="#modal_show_stores"> <i class="fa fa-plus"></i> Add</button>
|
||||||
|
</div>
|
||||||
|
<div class="box-body">
|
||||||
|
<div class="row">
|
||||||
|
{{-- <div class="col-md-3">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="control-label">Filter By Store</label>
|
||||||
|
<div id="store_filter"></div>
|
||||||
|
</div>
|
||||||
|
</div> --}}
|
||||||
|
<div class="col-md-12">
|
||||||
|
<table class="table table-bordered table-condensed nowrap" id="tbl_commission">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Id</th>
|
||||||
|
<th>Teamstore</th>
|
||||||
|
<th>Date Created</th>
|
||||||
|
<th class="text-center">Action</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
@foreach($taxLists as $taxList)
|
||||||
|
<tr>
|
||||||
|
<td>{{ $taxList->Id }}</td>
|
||||||
|
<td>{{ $taxList->StoreName }}</td>
|
||||||
|
<td>{{ $taxList->DateCreated }}</td>
|
||||||
|
<td class="text-center">
|
||||||
|
<button class="btn btn-danger btn-xs">Remove</button>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
@endforeach
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<!-- /.content -->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="modal fade" id="modal_show_stores" role="dialog">
|
||||||
|
<div class="modal-dialog">
|
||||||
|
<!-- Modal content-->
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||||
|
<h4 class="modal-title">List of Teamstore</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
|
||||||
Reference in New Issue
Block a user