<commit_before><?php

use yii\helpers\Html;
//use yii\widgets\DetailView;
use kartik\detail\DetailView;

/* @var $this yii\web\View */
/* @var $model app\modules\gudang\models\MasukBarang */

$this->title = $modelPembelian->kode_pembelian;
$this->params['breadcrumbs'][] = ['label' => 'Daftar Masuk Barang', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>

<div class="masuk-barang-detail-pembelian">

    

    <?= DetailView::widget([
        'model' => $modelPembelian,
        'condensed'=>true,
                'hover'=>true,
                'mode'=>DetailView::MODE_VIEW,
                'panel'=>[
                    'heading'=>'Supplier # ' . $modelPembelian->kode_pembelian,
                    'type'=>DetailView::TYPE_WARNING,
                    'headingOptions'=>[
                        'template'=>'{title}'
                    ]
                    
                ],
        'attributes' => [
            //'id_masuk',
            [
                'columns'=>[
                    [
                        'attribute'=>'kode_pembelian',
                        'label'=>'kode_pembelian',
                        'format'=>'raw',
                        'value'=>$modelPembelian->kode_pembelian == "" ? "<span class='label label-warning'>".$modelPembelian->kode_pembelian."</span>" : "<span class='label label-warning'>".$modelPembelian->kode_pembelian."</span>"
                    ]
                ]
            ],

            'kode_pembelian',
            
            //'id_pembelian',
            //'tanggal_masuk',
            //'keterangan',
        ],
    ]) ?>

</div><commit_msg>teuing naon ieu<commit_after><?php

use yii\helpers\Html;
//use yii\widgets\DetailView;
use kartik\detail\DetailView;

/* @var $this yii\web\View */
/* @var $model app\modules\gudang\models\MasukBarang */


?>

<div class="masuk-barang-detail-pembelian">

    

    <?= DetailView::widget([
        'model' => $modelPembelian,
        'condensed'=>true,
                'hover'=>true,
                'mode'=>DetailView::MODE_VIEW,
                'panel'=>[
                    'heading'=>'Supplier # ' . $modelPembelian->kode_pembelian,
                    'type'=>DetailView::TYPE_WARNING,
                    'headingOptions'=>[
                        'template'=>'{title}'
                    ]
                    
                ],
        'attributes' => [
            //'id_masuk',
            [
                'columns'=>[
                    [
                        'attribute'=>'kode_pembelian',
                        'label'=>'Kode Pembelian',
                        'format'=>'raw',
                        'value'=>$modelPembelian->kode_pembelian == "" ? "<span class='label label-warning'>".$modelPembelian->kode_pembelian."</span>" : "<span class='label label-warning'>".$modelPembelian->kode_pembelian."</span>"
                    ],
                    [
                        'attribute'=>'kode_pembelian',
                        'label'=>'Jenis Barang',
                        'format'=>'raw',
                        'value'=>$modelPembelian->kode_pembelian == "" ? "<span class='label label-warning'>".$modelPembelian->kode_pembelian."</span>" : "<span class='label label-warning'>".$modelPembelian->kode_pembelian."</span>"
                    ]
                ]
            ],

            'kode_pembelian',
            
            //'id_pembelian',
            //'tanggal_masuk',
            //'keterangan',
        ],
    ]) ?>

</div>
{'fraction_non_alphanumeric': 0.16714123006833714, 'fraction_numerical': 0.0, 'mean_word_length': 1.4566433566433565, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 75, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5999157', 'n_tokens_mistral': 1086, 'n_tokens_neox': 1052, 'n_words': 114}