bantenprov/lpse-status-rencana-pengadaan

Status Transaksi e-purchasing LPSE

dev-master 2018-03-15 04:13 UTC

This package is not auto-updated.

Last update: 2024-12-22 06:37:06 UTC


README

Join the chat at https://gitter.im/lpse-status-rencana-pengadaan/Lobby Scrutinizer Code Quality Build Status

Latest Stable Version Total Downloads Latest Unstable Version License Monthly Downloads Daily Downloads

Status Rencana Pengadaan

install via composer

  • Development snapshot
$ composer require bantenprov/lpse-status-rencana-pengadaan:dev-master
  • Latest release:

download via github

bash
$ git clone https://github.com/bantenprov/status-rencana-pengadaan.git

Edit config/app.php :

'providers' => [

    /*
    * Laravel Framework Service Providers...
    */
    Illuminate\Auth\AuthServiceProvider::class,
    Illuminate\Broadcasting\BroadcastServiceProvider::class,
    Illuminate\Bus\BusServiceProvider::class,
    Illuminate\Cache\CacheServiceProvider::class,
    Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
    Illuminate\Cookie\CookieServiceProvider::class,
    //....
    Bantenprov\StatusRencanaPengadaan\StatusRencanaPengadaanServiceProvider::class,

Untuk publish component vue :

$ php artisan vendor:publish --tag=status-rencana-pengadaan-assets
$ php artisan vendor:publish --tag=status-rencana-pengadaan-public

Tambahkan route di dalam route : resources/assets/js/routes.js :

path: '/dashboard',
component: layout('Default'),
children: [
  {
    path: '/dashboard',
    components: {
      main: resolve => require(['./components/views/DashboardHome.vue'], resolve),
      navbar: resolve => require(['./components/Navbar.vue'], resolve),
      sidebar: resolve => require(['./components/Sidebar.vue'], resolve)
    },
    meta: {
      title: "Dashboard"
    }
  },
  //== ...
  {
    path: '/dashboard/status-rencana-pengadaan',
    components: {
      main: resolve => require(['./components/views/bantenprov/status-rencana-pengadaan/DashboardStatusRencanaPengadaan.vue'], resolve),
      navbar: resolve => require(['./components/Navbar.vue'], resolve),
      sidebar: resolve => require(['./components/Sidebar.vue'], resolve)
    },
    meta: {
      title: "Status Rencana Pengadaan"
    }
  }
{
path: '/admin',
redirect: '/admin/dashboard',
component: resolve => require(['./AdminLayout.vue'], resolve),
children: [
//== ...
    {
      path: '/admin/dashboard/status-rencana-pengadaan',
      components: {
        main: resolve => require(['./components/bantenprov/status-rencana-pengadaan/StatusRencanaPengadaanAdmin.show.vue'], resolve),
        navbar: resolve => require(['./components/Navbar.vue'], resolve),
        sidebar: resolve => require(['./components/Sidebar.vue'], resolve)
      },
      meta: {
        title: "Status Rencana Pengadaan"
      }
    }

Edit menu resources/assets/js/menu.js

{
  name: 'Dashboard',
  icon: 'fa fa-dashboard',
  childType: 'collapse',
  childItem: [
        {
          name: 'Dashboard',
          link: '/dashboard',
          icon: 'fa fa-angle-double-right'
        },
        {
          name: 'Entity',
          link: '/dashboard/entity',
          icon: 'fa fa-angle-double-right'
        },
        //== ...
        {
          name: 'Status Rencana Pengadaan',
          link: '/dashboard/status-rencana-pengadaan',
          icon: 'fa fa-angle-double-right'
        }
  ]
},

Tambahkan components resources/assets/js/components.js :

//== lpse-status-rencana-pengadaan

import StatusRencanaPengadaan from './components/bantenprov/status-rencana-pengadaan/StatusRencanaPengadaan.chart.vue';
Vue.component('echarts-status-rencana-pengadaan', StatusRencanaPengadaan);

import StatusRencanaPengadaanKota from './components/bantenprov/status-rencana-pengadaan/StatusRencanaPengadaanKota.chart.vue';
Vue.component('echarts-status-rencana-pengadaan-kota', StatusRencanaPengadaanKota);

import StatusRencanaPengadaanTahun from './components/bantenprov/status-rencana-pengadaan/StatusRencanaPengadaanTahun.chart.vue';
Vue.component('echarts-status-rencana-pengadaan-tahun', StatusRencanaPengadaanTahun);

import StatusRencanaPengadaanTable from './components/bantenprov/status-rencana-pengadaan/StatusRencanaPengadaanTable.vue';
Vue.component('status-rencana-pengadaan-table', StatusRencanaPengadaanTable);

import StatusRencanaPengadaanAdminShow from './components/bantenprov/status-rencana-pengadaan/StatusRencanaPengadaanAdmin.show.vue';
Vue.component('admin-view-status-rencana-pengadaan-tahun', StatusRencanaPengadaanAdminShow);

//== lpse-status-rencana-pengadaan

import StatusRencanaPengadaanBar01 from './components/views/bantenprov/status-rencana-pengadaan/StatusRencanaPengadaanBar01.vue';
Vue.component('status-rencana-pengadaan-bar-01', StatusRencanaPengadaanBar01);

import StatusRencanaPengadaanBar02 from './components/views/bantenprov/status-rencana-pengadaan/StatusRencanaPengadaanBar02.vue';
Vue.component('status-rencana-pengadaan-bar-02', StatusRencanaPengadaanBar02);

//== mini bar charts
import StatusRencanaPengadaanBar03 from './components/views/bantenprov/status-rencana-pengadaan/StatusRencanaPengadaanBar03.vue';
Vue.component('status-rencana-pengadaan-bar-03', StatusRencanaPengadaanBar03);

import StatusRencanaPengadaanPie01 from './components/views/bantenprov/status-rencana-pengadaan/StatusRencanaPengadaanPie01.vue';
Vue.component('status-rencana-pengadaan-pie-01', StatusRencanaPengadaanPie01);

import StatusRencanaPengadaanPie02 from './components/views/bantenprov/status-rencana-pengadaan/StatusRencanaPengadaanPie02.vue';
Vue.component('status-rencana-pengadaan-pie-02', StatusRencanaPengadaanPie02);

//== mini pie charts
import StatusRencanaPengadaanPie03 from './components/views/bantenprov/status-rencana-pengadaan/StatusRencanaPengadaanPie03.vue';
Vue.component('status-rencana-pengadaan-pie-03', StatusRencanaPengadaanPie03);