mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-24 15:05:09 +00:00
24 lines
1.3 KiB
PHP
24 lines
1.3 KiB
PHP
@extends('layouts.base_portal')
|
|
@section('inner_content')
|
|
<div class="row m-1 mt-3 mb-3 hide">
|
|
<div class="col col-10 m-r-5">
|
|
<div class="row border p-1">Search</div>
|
|
</div>
|
|
<div class="col col m-l-5">
|
|
<div class="row border p-1">Filter</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row m-b-15" v-show="!$store.getters.isShowing('createContainerFormSection')">
|
|
<div class="col">
|
|
<div data-type="createContainer" class="btn btn-sm btn-primary all-caps b-rad-none pointer m-l-5 rounded btn-lg" @click="$store.dispatch('toggleSection', {name: 'createContainerFormSection', status: true})"><i class="fa fa-plus m-r-10"></i>Add Container</div>
|
|
</div>
|
|
</div>
|
|
|
|
<create-load-container-form-component :section="'containerListSection'" v-show="$store.getters.isShowing('createContainerFormSection')"></create-load-container-form-component>
|
|
<list-component section="containerListSection" :endpoint="route('api.packing_list.container.list')" :options="{'per_page': 5, 'with_packing_lists': true, order_by: {column: 'created_at', DESC: true}}" v-show="!$store.getters.isShowing('createContainerFormSection')">
|
|
<template slot="list" slot-scope="{data}">
|
|
<container-component :data="data"></container-component>
|
|
</template>
|
|
</list-component>
|
|
@endsection |