This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
log4j:WARN Failed to set property [conversionPattern] to value \"%d{ABSOLUTE} %5p %c{1}:%L - %m%n\". \njava.lang.reflect.InvocationTargetException\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:498)\n\tat org.apache.log4j.config.PropertySetter.setProperty(PropertySetter.java:245)\n\tat org.apache.log4j.config.PropertySetter.setProperty(PropertySetter.java:204)\n\tat org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:169)\n\tat org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104)\n\tat org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:805)\n\tat org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:768)\n\tat org.apache.log4j.PropertyConfigurator.configureRootCategory(Prop |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const useStyles = makeStyles((theme) => ({ | |
wrapper1: { | |
width: '980px', | |
height: '20px', | |
overflowX: 'scroll', | |
overflowY: 'scroll', | |
border: 'none 0px black', | |
// backgroundColor:'red', | |
}, | |
wrapper2: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT dn.drug_name, | |
t.drug_name_id, | |
bapb.id, | |
bapb.bapb_number, | |
t.location_id, | |
loul.uks_name as location, | |
(SELECT qty | |
FROM transactions | |
WHERE drug_name_id = dn.id AND | |
location_id = t.location_id AND |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public function updateStockAwal(Request $request) | |
{ | |
ini_set('memory_limit', '-1'); | |
set_time_limit(120000); | |
$products = DB::table('m_barang_awal_AG'.$request->kode_urut_toko)->select('id','idrec','kode_barang','kode_toko','stock') | |
->where('kode_toko', 'AG'.$request->kode_urut_toko) | |
// ->where('stock','!=',0.00) | |
->limit(10) | |
->get(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT temp.*, barang.nama | |
FROM ( | |
-- transaksi | |
SELECT | |
saldo as transaksi_stok, | |
0 as po, | |
0 as po_terima, | |
0 as order_request, | |
0 as kasir, | |
0 as grosir, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const [state, setstate] = useState({ | |
id: undefined, | |
type_of_training : [], | |
}); | |
const trainingItems = [ | |
{ | |
id : 1, | |
name : "Ikatan Dinas", | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public function __construct() | |
{ | |
$this->executable = 'jasperstarter'; | |
// $this->pathExecutable = __DIR__ . '/../bin/jasperstarter/bin'; | |
$this->pathExecutable = '/home/charismaku/public_html/backendApp/vendor/geekcom/phpjasper-laravel/bin/jasperstarter/lib';// | |
$this->windows = strtoupper(substr(PHP_OS, 0, 3)) === 'WIN' ? true : false; | |
} | |
/** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Helpers; | |
use Illuminate\Container\Container; | |
use Illuminate\Pagination\LengthAwarePaginator; | |
use Illuminate\Pagination\Paginator; | |
use Illuminate\Support\Collection; | |
class PaginationHelper | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Calculates the great-circle distance between two points, with | |
* the Haversine formula. | |
* @param float $latitudeFrom Latitude of start point in [deg decimal] | |
* @param float $longitudeFrom Longitude of start point in [deg decimal] | |
* @param float $latitudeTo Latitude of target point in [deg decimal] | |
* @param float $longitudeTo Longitude of target point in [deg decimal] | |
* @param float $earthRadius Mean earth radius in [m] | |
* @return float Distance between points in [m] (same as earthRadius) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React,{useState,useEffect} from 'react' | |
import {useDispatch,useSelector} from 'react-redux' | |
import {useHistory,useParams} from 'react-router-dom' | |
import styled from 'styled-components' | |
import {fetchServices3,fetchTimeslot} from './../../data/api' | |
import {selectService,selectType,setTimeslots,setServices} from './../../data/actions' | |
import {checkOpHour} from './../../componentsv2/utils' | |
import {animated,useTransition,useSpring,config} from 'react-spring' | |
import {useGoogleReCaptcha} from 'react-google-recaptcha-v3' | |
import moment from 'moment' |
NewerOlder