changed logo position
dashboard link pop up field showed order no.
@@ -1,4 +1,4 @@
|
|||||||
@charset "UTF-8";
|
@charset "UTF-8";
|
||||||
/* Cubic Bezier Transition */
|
/* Cubic Bezier Transition */
|
||||||
@media print {
|
@media print {
|
||||||
body {
|
body {
|
||||||
@@ -67,7 +67,9 @@ Page Header
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
float: left; }
|
float: left; }
|
||||||
.page-header.navbar .page-logo .logo-default {
|
.page-header.navbar .page-logo .logo-default {
|
||||||
margin: 18px 0 0 0; }
|
width:60px;
|
||||||
|
margin-left:35px;
|
||||||
|
}
|
||||||
.page-header.navbar .page-logo .logo-mini {
|
.page-header.navbar .page-logo .logo-mini {
|
||||||
display: none;
|
display: none;
|
||||||
margin-left: 5px; }
|
margin-left: 5px; }
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 40 KiB |
|
After Width: | Height: | Size: 5.4 KiB |
|
Before Width: | Height: | Size: 40 KiB |
@@ -164,7 +164,25 @@ var TableDatatablesEditable = function() {
|
|||||||
ignore: [],
|
ignore: [],
|
||||||
errorElement: 'span',
|
errorElement: 'span',
|
||||||
errorClass: 'help-block help-block-error',
|
errorClass: 'help-block help-block-error',
|
||||||
focusInvalid: false,
|
focusInvalid: false,
|
||||||
|
rules: {
|
||||||
|
description: {
|
||||||
|
required: true,
|
||||||
|
},
|
||||||
|
packaging_quantity: {
|
||||||
|
required: true,
|
||||||
|
|
||||||
|
},
|
||||||
|
messages: {
|
||||||
|
description: {
|
||||||
|
required: "You must choose description to proceed",
|
||||||
|
},
|
||||||
|
packaging_quantity: {
|
||||||
|
required: "You must choose package quantity to proceed",
|
||||||
|
},
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
errorPlacement: function(error, element) { // render error placement for each input type
|
errorPlacement: function(error, element) { // render error placement for each input type
|
||||||
error.insertAfter(element); // for other inputs, just perform default behavior
|
error.insertAfter(element); // for other inputs, just perform default behavior
|
||||||
},
|
},
|
||||||
@@ -622,11 +640,18 @@ var FormWizard = function() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
}
|
||||||
$("#finish").show();
|
else if (e.status === 403){
|
||||||
$("#wait").hide();
|
$("#finish").show();
|
||||||
//$("#suksesupdate").show();
|
$("#wait").hide();
|
||||||
$("#gagalupdate").show();
|
//$("#suksesupdate").show();
|
||||||
|
alert(e.responseText);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$("#finish").show();
|
||||||
|
$("#wait").hide();
|
||||||
|
//$("#suksesupdate").show();
|
||||||
|
$("#gagalupdate").show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
<<<<<<< HEAD
|
||||||
Time : 14:24:01
|
Time : 14:24:01
|
||||||
SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it.
|
SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it.
|
||||||
|
|
||||||
@@ -5,3 +6,7 @@ SQLSTATE[HY000] [2002] No connection could be made because the target machine ac
|
|||||||
Time : 14:23:57
|
Time : 14:23:57
|
||||||
SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it.
|
SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it.
|
||||||
|
|
||||||
|
=======
|
||||||
|
Time : 18:20:59
|
||||||
|
SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/Applications/AMPPS/var/mysql.sock' (2)
|
||||||
|
>>>>>>> 02ecd69c6a4837c593e20ee8ff82b7bbaf228000
|
||||||
|
|||||||
@@ -57,9 +57,12 @@ function getAllSOWithoutWarehouse(){
|
|||||||
|
|
||||||
$PO = "";
|
$PO = "";
|
||||||
foreach ($data as $key => $value) {
|
foreach ($data as $key => $value) {
|
||||||
if(getItemBalanceFromSOID($value['so_id']) <> 0){
|
// Fix display all shipping order
|
||||||
$PO .= "<option value='" . $value['so_id'] . "'>" . $value['order_no'] . " (" . $value['marking'] . ')</option>';
|
// if(getItemBalanceFromSOID($value['so_id']) <> 0){
|
||||||
}
|
// $PO .= "<option value='" . $value['so_id'] . "'>" . $value['order_no'] . " (" . $value['marking'] . ')</option>';
|
||||||
|
// }
|
||||||
|
$PO .= "<option value='" . $value['so_id'] . "'>" . $value['order_no'] . " (" . $value['marking'] . ')</option>';
|
||||||
|
|
||||||
}
|
}
|
||||||
return $PO;
|
return $PO;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -315,10 +315,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="control-label col-md-3">Quantity <span class="required"> * </span>
|
<label class="control-label col-md-3">Quantity </span>
|
||||||
</label>
|
</label>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<input type="number" class="form-control int" id="quantity" name="quantity" placeholder="4" required>
|
<input type="number" class="form-control int" id="quantity" name="quantity" placeholder="4">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
|||||||
@@ -312,6 +312,16 @@ function the_so(){
|
|||||||
|
|
||||||
foreach ($shippingorderitems as $key => $shippingorderitem) {
|
foreach ($shippingorderitems as $key => $shippingorderitem) {
|
||||||
|
|
||||||
|
# check reqired description and quantity
|
||||||
|
|
||||||
|
if ( $shippingorderitem['description'] == "" ){
|
||||||
|
return new Response("Please make sure all your item have a description", 403);
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( $shippingorderitem['packaging_quantity'] == "") {
|
||||||
|
return new Response("Please make sure all your item have a quantity", 403);
|
||||||
|
}
|
||||||
|
|
||||||
$db->bind("description", $shippingorderitem['description']);
|
$db->bind("description", $shippingorderitem['description']);
|
||||||
$db->bind("model_no", $shippingorderitem['model_no']);
|
$db->bind("model_no", $shippingorderitem['model_no']);
|
||||||
$db->bind("brand_no", $shippingorderitem['brand_no']);
|
$db->bind("brand_no", $shippingorderitem['brand_no']);
|
||||||
|
|||||||
|
After Width: | Height: | Size: 254 KiB |
|
After Width: | Height: | Size: 288 KiB |
|
After Width: | Height: | Size: 254 KiB |
|
After Width: | Height: | Size: 254 KiB |
|
After Width: | Height: | Size: 288 KiB |
|
After Width: | Height: | Size: 160 KiB |
|
After Width: | Height: | Size: 160 KiB |
|
After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 105 KiB |
|
After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 48 KiB |
|
After Width: | Height: | Size: 254 KiB |