public function Adicionales($dni)
 {
     return tc_historico::select('nrodoctit', 'codpromot', 'fecresol', 'nroadicion')->where('nrodoctit', '=', $dni)->where('codoperac', '=', 1)->orWhere('codoperac', '=', 4)->get();
 }
 public function run()
 {
     $faker = Faker::create();
     tc_historico::create(['nrotarje' => '24000000', 'fecactiva' => $faker->date($format = 'Y-m-d', $max = 'now'), 'fecentrega' => $faker->date($format = 'Y-m-d', $max = 'now'), 'fecresol' => $faker->date($format = 'Y-m-d', $max = 'now'), 'codpromot' => 'B83070', 'nrodoctit' => '40221234', 'codoperac' => '1', 'codestado' => '3', 'tiptramite' => '1', 'mesresol' => '201410']);
     tc_historico::create(['nrotarje' => '30000000', 'fecactiva' => $faker->date($format = 'Y-m-d', $max = 'now'), 'fecentrega' => $faker->date($format = 'Y-m-d', $max = 'now'), 'fecresol' => $faker->date($format = 'Y-m-d', $max = 'now'), 'codpromot' => 'B22956', 'nrodoctit' => '68043699', 'codoperac' => '1', 'codestado' => '3', 'tiptramite' => '1', 'mesresol' => '201411']);
 }