changed dashboard logo

dash board logo link
changed required pop up field lebel
new warehouse delivery note show order
This commit is contained in:
Asif
2018-03-29 17:40:56 +08:00
parent c14bb2b613
commit f4cbc3185a
28 changed files with 48 additions and 9 deletions
+22
View File
@@ -0,0 +1,22 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Listen for XDebug",
"type": "php",
"request": "launch",
"port": 9000
},
{
"name": "Launch currently open script",
"type": "php",
"request": "launch",
"program": "${file}",
"cwd": "${fileDirname}",
"port": 9000
}
]
}
+2 -2
View File
@@ -1,4 +1,4 @@
@charset "UTF-8";
@charset "UTF-8";
/*!
* Bootstrap v3.3.7 (http://getbootstrap.com)
* Copyright 2011-2016 Twitter, Inc.
@@ -2703,7 +2703,7 @@ select[multiple].input-lg,
display: block;
margin-top: 5px;
margin-bottom: 10px;
color: #737373; }
color: #FF0000; }
@media (min-width: 768px) {
.form-inline .form-group {
File diff suppressed because one or more lines are too long
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

+7
View File
@@ -0,0 +1,7 @@
Time : 14:24:01
SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it.
Time : 14:23:57
SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it.
+1 -1
View File
@@ -93,7 +93,7 @@ License: You must have a valid license purchased only from themeforest(the above
<div class="page-header-inner ">
<!-- BEGIN LOGO -->
<div class="page-logo">
<a href="index.html">
<a href="/dashboard">
<img src="/assets/layouts/layout/img/logo.png" alt="logo" class="logo-default" /> </a>
<div class="menu-toggler sidebar-toggler">
<span></span>
+8 -3
View File
@@ -594,25 +594,30 @@ function the_company() {
if (move_uploaded_file($_FILES['image']['tmp_name'], $uploadfile)) {
$path = 'http://' . $_SERVER['HTTP_HOST'].'/uploads/company/'.$_SESSION['user_id']."/".basename($uploadfile);
$uploaded_img = $_FILES['image']['tmp_name'];
$data = file_get_contents($path);
$logo = 'data:' . $_FILES['image']['type'] . ';base64,' . base64_encode($data);
$logo_mime = $_FILES['image']['type'];
$company_id = getCompany($_SESSION['user_id']);
$db->bind("logo", $logo);
$db->bind("logo_mime", $logo_mime);
$db->bind("company_id", $company_id);
$debug_msg = "UPDATE companies SET logo = $logo, logo_mime= $logo_mine WHERE company_id = $company_id";
return $logo;
$imageupdate = $db->query("UPDATE companies SET logo = :logo, logo_mime= :logo_mime WHERE company_id = :company_id");
}
if ($imageupdate) {
action_log($_SESSION['user_id'], "Edit Logo : ID - " . $company_id , "SUCCESS");
delete_directory(__DIR__ ."/../../../uploads/");
return $app->redirect($referer.'?success');
return $debug_msg;
//return $app->redirect($referer.'?success');
} else {
action_log($_SESSION['user_id'], "Edit Logo : ID - " . $company_id , "FAILED");
delete_directory(__DIR__ ."/../../../uploads/");
return $app->redirect($referer.'?failed');
return $debug_msg;
//return $app->redirect($referer.'?failed');
}
});
+2 -1
View File
@@ -109,7 +109,8 @@ function the_profile() {
$profile_picture_mime = $_FILES['image']['type'];
$db->bind("profile_picture", $profile_picture);
$db->bind("profile_picture_mime", $profile_picture_mime);
$db->bind("user_id", $_SESSION["user_id"]);
$db->bind("user_id", $_SESSION["user_id"]);
$imageupdate = $db->query("UPDATE user_detail SET profile_picture = :profile_picture, profile_picture_mime= :profile_picture_mime WHERE user_id = :user_id");
}
+4
View File
@@ -0,0 +1,4 @@
<?php
$im = file_get_contents('filename.gif');
$imdata = base64_encode($im);
?>
Binary file not shown.

After

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 KiB