- 1.1 Beranda - Grafik
- 1.2 Beranda - Ringkasan
- 1.3 Beranda - Transaksi
- 1.4 Beranda - Konsumen butuh bantuan
- 2.1 Performa Usaha - Performa Toko
- 2.2 Performa Usaha - Performa Karyawan
- 2.3 Performa Usaha - Grafik Omset
<?php | |
function akses ($title, $menu=false){ | |
$mainmenu= [ | |
"dashboard" => [ | |
"performa_usaha" => [ | |
"performa_toko.lihat", | |
"biaya.lihat", | |
"omset.lihat", | |
"dll.lihat", |
version: "3" | |
services: | |
sonarqube: | |
image: sonarqube:lts-community | |
container_name: sonarqube | |
depends_on: | |
- db | |
environment: | |
SONAR_JDBC_URL: jdbc:postgresql://db:5432/sonar |
(function ($) { | |
"use strict"; | |
function autocomplete(inp, arr) { | |
/*the autocomplete function takes two arguments, | |
the text field element and an array of possible autocompleted values:*/ | |
var currentFocus; | |
/*execute a function when someone writes in the text field:*/ | |
inp.addEventListener("input", function (e) { | |
var a, |
<template> | |
<vue-qrcode value="https://addin.my.id" /> | |
</template> | |
<script> | |
import VueQrcode from 'vue-qrcode' | |
export default { | |
components: { | |
VueQrcode, | |
}, |
<template> | |
<!-- trigger change value --> | |
<button @click="onChange">💎</button> | |
{{myvalue}} <!-- listen value terbaru --> | |
</button> | |
</template> | |
<script> | |
import {computed} from "vue"; | |
import {useStore} from "vuex"; |
export default { | |
state: { | |
_epochtime: null | |
}, | |
getters: { | |
fetchEpoch: (state) => state._epochtime | |
}, | |
actions: { | |
}, |
<?php if( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
use PhpOffice\PhpSpreadsheet\Spreadsheet; | |
use PhpOffice\PhpSpreadsheet\Writer\Xlsx; | |
class Ratingexcel extends CI_controllers | |
{ | |
public function index() | |
{ | |
$spreadsheet = new Spreadsheet(); | |
$sheet = $spreadsheet->getActiveSheet(); |
<?php | |
# mengurangi hari | |
$tgl = "2022-03-02"; | |
$date = date("Y-m-d", strtotime($tgl."-10 days")); | |
echo $date; // 2022-02-20 | |
# menambah hari | |
$tgl = "2022-03-02"; | |
$date = date("Y-m-d", strtotime($tgl."+10 days")); |
<?php | |
# mengurangi tanggal 7 hari | |
$date = date("Y-m-d", strtotime("-7 days")); | |
echo $date; | |
# menambah tanggal 7 hari | |
$date = date("Y-m-d", strtotime("+7 days")); | |
echo $date; |