bantenprov/lpse-rekapitulasi-pengadaan

Status Transaksi e-purchasing LPSE

dev-master 2018-03-09 12:52 UTC

This package is not auto-updated.

Last update: 2024-12-17 20:13:10 UTC


README

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

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

Rekapitulasi Pengadaan

install via composer

  • Development snapshot
$ composer require bantenprov/lpse-rekapitulasi-pengadaan:dev-master
  • Latest release:
$ composer require bantenprov/lpse-rekapitulasi-pengadaan:v0.1.0

download via github

bash
$ git clone https://github.com/bantenprov/lpse-rekapitulasi-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\RekapitulasiPengadaan\RekapitulasiPengadaanServiceProvider::class,

Untuk publish component vue :

$ php artisan vendor:publish --tag=rekapitulasi-pengadaan-assets
$ php artisan vendor:publish --tag=rekapitulasi-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/rekapitulasi-pengadaan',
    components: {
      main: resolve => require(['./components/views/bantenprov/rekapitulasi-pengadaan/DashboardRekapitulasiPengadaan.vue'], resolve),
      navbar: resolve => require(['./components/Navbar.vue'], resolve),
      sidebar: resolve => require(['./components/Sidebar.vue'], resolve)
    },
    meta: {
      title: "Rekapitulasi Pengadaan"
    }
  }
{
path: '/admin',
redirect: '/admin/dashboard',
component: resolve => require(['./AdminLayout.vue'], resolve),
children: [
//== ...
    {
      path: '/admin/dashboard/rekapitulasi-pengadaan',
      components: {
        main: resolve => require(['./components/bantenprov/rekapitulasi-pengadaan/RekapitulasiPengadaanAdmin.show.vue'], resolve),
        navbar: resolve => require(['./components/Navbar.vue'], resolve),
        sidebar: resolve => require(['./components/Sidebar.vue'], resolve)
      },
      meta: {
        title: "Rekapitulasi 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: 'Rekapitulasi Pengadaan',
          link: '/dashboard/rekapitulasi-pengadaan',
          icon: 'fa fa-angle-double-right'
        }
  ]
},
//== ...
        {
          name: 'Rekapitulasi Pengadaan',
          link: '/admin/dashboard/rekapitulasi-pengadaan',
          icon: 'fa fa-angle-double-right'
        },

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

import RekapitulasiPengadaan from './components/bantenprov/rekapitulasi-pengadaan/RekapitulasiPengadaan.chart.vue';
Vue.component('echarts-rekapitulasi-pengadaan', RekapitulasiPengadaan);

import RekapitulasiPengadaanKota from './components/bantenprov/rekapitulasi-pengadaan/RekapitulasiPengadaanKota.chart.vue';
Vue.component('echarts-rekapitulasi-pengadaan-kota', RekapitulasiPengadaanKota);

import RekapitulasiPengadaanTahun from './components/bantenprov/rekapitulasi-pengadaan/RekapitulasiPengadaanTahun.chart.vue';
Vue.component('echarts-rekapitulasi-pengadaan-tahun', RekapitulasiPengadaanTahun);

import RekapitulasiPengadaanAdminShow from './components/bantenprov/rekapitulasi-pengadaan/RekapitulasiPengadaanAdmin.show.vue';
Vue.component('admin-view-rekapitulasi-pengadaan-tahun', RekapitulasiPengadaanAdminShow);

//== Echarts Rekapitulasi Pengadaan

import RekapitulasiPengadaanBar01 from './components/views/bantenprov/rekapitulasi-pengadaan/RekapitulasiPengadaanBar01.vue';
Vue.component('rekapitulasi-pengadaan-bar-01', RekapitulasiPengadaanBar01);

import RekapitulasiPengadaanBar02 from './components/views/bantenprov/rekapitulasi-pengadaan/RekapitulasiPengadaanBar02.vue';
Vue.component('rekapitulasi-pengadaan-bar-02', RekapitulasiPengadaanBar02);

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

import RekapitulasiPengadaanPie01 from './components/views/bantenprov/rekapitulasi-pengadaan/RekapitulasiPengadaanPie01.vue';
Vue.component('rekapitulasi-pengadaan-pie-01', RekapitulasiPengadaanPie01);

import RekapitulasiPengadaanPie02 from './components/views/bantenprov/rekapitulasi-pengadaan/RekapitulasiPengadaanPie02.vue';
Vue.component('rekapitulasi-pengadaan-pie-02', RekapitulasiPengadaanPie02);

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