repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/app/Http/Controllers/ReceivingTempApiController.php | app/Http/Controllers/ReceivingTempApiController.php | <?php namespace App\Http\Controllers;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use App\ReceivingTemp;
use App\Item, App\ItemKitItem;
use DB, \Auth, \Redirect, \Validator, \Input, \Session, \Response;
use Illuminate\Http\Request;
class ReceivingTempApiController extends Controller {
public function __construct()
{
$this->middleware('auth');
}
/**
* Display a listing of the resource.
*
* @return Response
*/
public function index()
{
return Response::json(ReceivingTemp::with('item')->get());
}
/**
* Show the form for creating a new resource.
*
* @return Response
*/
public function create()
{
return view('receiving.create');
}
/**
* Store a newly created resource in storage.
*
* @return Response
*/
public function store()
{
// cek item_id sudah ada atau belum, jika sudah ada update quantity,
// jika belum ada tambahkan data (info@mytuta.com)
// $result_item_id = ReceivingTemp::where('item_id', '=', Input::get('item_id'))->first();
// if ($result_item_id === null) {
$this->newItem();
// }
// else
// {
/* $ReceivingTemps = ReceivingTemp::find($result_item_id->item_id);
$ReceivingTemps->quantity = 5;
$ReceivingTemps->total_cost = 54;
$ReceivingTemps->save();
return $ReceivingTemps; */
// echo "warik";
// $this->updateItem();
// }
}
public function updateItem()
{
$ReceivingTemps = ReceivingTemp::find(3);
$ReceivingTemps->quantity = 5;
$ReceivingTemps->total_cost = 54;
$ReceivingTemps->save();
return $ReceivingTemps;
}
public function newItem()
{
$type = Input::get('type');
if ($type == 1)
{
$ReceivingTemps = new ReceivingTemp;
$ReceivingTemps->item_id = Input::get('item_id');
$ReceivingTemps->cost_price = Input::get('cost_price');
$ReceivingTemps->total_cost = Input::get('total_cost');
$ReceivingTemps->quantity = 1;
$ReceivingTemps->save();
return $ReceivingTemps;
}
else
{
$itemkits = ItemKitItem::where('item_kit_id', Input::get('item_id'))->get();
foreach($itemkits as $value)
{
$item = Item::where('id', $value->item_id)->first();
$ReceivingTemps = new ReceivingTemp;
$ReceivingTemps->item_id = $value->item_id;
$ReceivingTemps->cost_price = $item->cost_price;
$ReceivingTemps->total_cost = $item->cost_price * $value->quantity;
$ReceivingTemps->quantity = $value->quantity;
$ReceivingTemps->save();
//return $ReceivingTemps;
}
return $ReceivingTemps;
}
}
/**
* Display the specified resource.
*
* @param int $id
* @return Response
*/
public function show($id)
{
//
}
/**
* Show the form for editing the specified resource.
*
* @param int $id
* @return Response
*/
public function edit($id)
{
//
}
/**
* Update the specified resource in storage.
*
* @param int $id
* @return Response
*/
public function update($id)
{
$ReceivingTemps = ReceivingTemp::find($id);
$ReceivingTemps->quantity = Input::get('quantity');
$ReceivingTemps->total_cost = Input::get('total_cost');
$ReceivingTemps->save();
return $ReceivingTemps;
}
/**
* Remove the specified resource from storage.
*
* @param int $id
* @return Response
*/
public function destroy($id)
{
ReceivingTemp::destroy($id);
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/app/Http/Controllers/ReceivingController.php | app/Http/Controllers/ReceivingController.php | <?php namespace App\Http\Controllers;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use App\Receiving;
use App\ReceivingTemp;
use App\ReceivingItem;
use App\Inventory;
use App\Supplier;
use App\Item;
use App\Http\Requests\ReceivingRequest;
use \Auth, \Redirect, \Validator, \Input, \Session;
use Illuminate\Http\Request;
class ReceivingController extends Controller {
public function __construct()
{
$this->middleware('auth');
}
/**
* Display a listing of the resource.
*
* @return Response
*/
public function index()
{
$receivings = Receiving::orderBy('id', 'desc')->first();
$suppliers = Supplier::lists('company_name', 'id');
return view('receiving.index')
->with('receiving', $receivings)
->with('supplier', $suppliers);
}
/**
* Show the form for creating a new resource.
*
* @return Response
*/
public function create()
{
//
}
/**
* Store a newly created resource in storage.
*
* @return Response
*/
public function store(ReceivingRequest $request)
{
$receivings = new Receiving;
$receivings->supplier_id = Input::get('supplier_id');
$receivings->user_id = Auth::user()->id;
$receivings->payment_type = Input::get('payment_type');
$receivings->comments = Input::get('comments');
$receivings->save();
// process receiving items
$receivingItems = ReceivingTemp::all();
foreach ($receivingItems as $value) {
$receivingItemsData = new ReceivingItem;
$receivingItemsData->receiving_id = $receivings->id;
$receivingItemsData->item_id = $value->item_id;
$receivingItemsData->cost_price = $value->cost_price;
$receivingItemsData->quantity = $value->quantity;
$receivingItemsData->total_cost = $value->total_cost;
$receivingItemsData->save();
//process inventory
$items = Item::find($value->item_id);
$inventories = new Inventory;
$inventories->item_id = $value->item_id;
$inventories->user_id = Auth::user()->id;
$inventories->in_out_qty = $value->quantity;
$inventories->remarks = 'RECV'.$receivings->id;
$inventories->save();
//process item quantity
$items->quantity = $items->quantity + $value->quantity;
$items->save();
}
//delete all data on ReceivingTemp model
ReceivingTemp::truncate();
$itemsreceiving = ReceivingItem::where('receiving_id', $receivingItemsData->receiving_id)->get();
Session::flash('message', 'You have successfully added receivings');
//return Redirect::to('receivings');
return view('receiving.complete')
->with('receivings', $receivings)
->with('receivingItemsData', $receivingItemsData)
->with('receivingItems', $itemsreceiving);
}
/**
* Display the specified resource.
*
* @param int $id
* @return Response
*/
public function show($id)
{
//
}
/**
* Show the form for editing the specified resource.
*
* @param int $id
* @return Response
*/
public function edit($id)
{
//
}
/**
* Update the specified resource in storage.
*
* @param int $id
* @return Response
*/
public function update($id)
{
$items = Item::find($id);
// process inventory
$receivingTemps = new ReceivingTemp;
$inventories->item_id = $id;
$inventories->quantity = Input::get('quantity');
$inventories->save();
Session::flash('message', 'You have successfully add item');
return Redirect::to('receivings');
}
/**
* Remove the specified resource from storage.
*
* @param int $id
* @return Response
*/
public function destroy($id)
{
//
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/app/Http/Controllers/SaleController.php | app/Http/Controllers/SaleController.php | <?php namespace App\Http\Controllers;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use App\Sale;
use App\SaleTemp;
use App\SaleItem;
use App\Inventory;
use App\Customer;
use App\Item, App\ItemKitItem;
use App\Http\Requests\SaleRequest;
use \Auth, \Redirect, \Validator, \Input, \Session;
use Illuminate\Http\Request;
class SaleController extends Controller {
public function __construct()
{
$this->middleware('auth');
}
/**
* Display a listing of the resource.
*
* @return Response
*/
public function index()
{
$sales = Sale::orderBy('id', 'desc')->first();
$customers = Customer::lists('name', 'id');
return view('sale.index')
->with('sale', $sales)
->with('customer', $customers);
}
/**
* Show the form for creating a new resource.
*
* @return Response
*/
public function create()
{
//
}
/**
* Store a newly created resource in storage.
*
* @return Response
*/
public function store(SaleRequest $request)
{
$sales = new Sale;
$sales->customer_id = Input::get('customer_id');
$sales->user_id = Auth::user()->id;
$sales->payment_type = Input::get('payment_type');
$sales->comments = Input::get('comments');
$sales->save();
// process sale items
$saleItems = SaleTemp::all();
foreach ($saleItems as $value) {
$saleItemsData = new SaleItem;
$saleItemsData->sale_id = $sales->id;
$saleItemsData->item_id = $value->item_id;
$saleItemsData->cost_price = $value->cost_price;
$saleItemsData->selling_price = $value->selling_price;
$saleItemsData->quantity = $value->quantity;
$saleItemsData->total_cost = $value->total_cost;
$saleItemsData->total_selling = $value->total_selling;
$saleItemsData->save();
//process inventory
$items = Item::find($value->item_id);
if($items->type == 1)
{
$inventories = new Inventory;
$inventories->item_id = $value->item_id;
$inventories->user_id = Auth::user()->id;
$inventories->in_out_qty = -($value->quantity);
$inventories->remarks = 'SALE'.$sales->id;
$inventories->save();
//process item quantity
$items->quantity = $items->quantity - $value->quantity;
$items->save();
}
else
{
$itemkits = ItemKitItem::where('item_kit_id', $value->item_id)->get();
foreach($itemkits as $item_kit_value)
{
$inventories = new Inventory;
$inventories->item_id = $item_kit_value->item_id;
$inventories->user_id = Auth::user()->id;
$inventories->in_out_qty = -($item_kit_value->quantity * $value->quantity);
$inventories->remarks = 'SALE'.$sales->id;
$inventories->save();
//process item quantity
$item_quantity = Item::find($item_kit_value->item_id);
$item_quantity->quantity = $item_quantity->quantity - ($item_kit_value->quantity * $value->quantity);
$item_quantity->save();
}
}
}
//delete all data on SaleTemp model
SaleTemp::truncate();
$itemssale = SaleItem::where('sale_id', $saleItemsData->sale_id)->get();
Session::flash('message', 'You have successfully added sales');
//return Redirect::to('receivings');
return view('sale.complete')
->with('sales', $sales)
->with('saleItemsData', $saleItemsData)
->with('saleItems', $itemssale);
}
/**
* Display the specified resource.
*
* @param int $id
* @return Response
*/
public function show($id)
{
//
}
/**
* Show the form for editing the specified resource.
*
* @param int $id
* @return Response
*/
public function edit($id)
{
//
}
/**
* Update the specified resource in storage.
*
* @param int $id
* @return Response
*/
public function update($id)
{
//
}
/**
* Remove the specified resource from storage.
*
* @param int $id
* @return Response
*/
public function destroy($id)
{
//
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/app/Http/Controllers/Auth/AuthController.php | app/Http/Controllers/Auth/AuthController.php | <?php
namespace App\Http\Controllers\Auth;
use App\User;
use Validator;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\AuthenticatesAndRegistersUsers;
class AuthController extends Controller
{
/*
|--------------------------------------------------------------------------
| Registration & Login Controller
|--------------------------------------------------------------------------
|
| This controller handles the registration of new users, as well as the
| authentication of existing users. By default, this controller uses
| a simple trait to add these behaviors. Why don't you explore it?
|
*/
use AuthenticatesAndRegistersUsers;
/**
* Create a new authentication controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('guest', ['except' => 'getLogout']);
}
/**
* Get a validator for an incoming registration request.
*
* @param array $data
* @return \Illuminate\Contracts\Validation\Validator
*/
protected function validator(array $data)
{
return Validator::make($data, [
'name' => 'required|max:255',
'email' => 'required|email|max:255|unique:users',
'password' => 'required|confirmed|min:6',
]);
}
/**
* Create a new user instance after a valid registration.
*
* @param array $data
* @return User
*/
protected function create(array $data)
{
return User::create([
'name' => $data['name'],
'email' => $data['email'],
'password' => bcrypt($data['password']),
]);
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/app/Http/Controllers/Auth/PasswordController.php | app/Http/Controllers/Auth/PasswordController.php | <?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\ResetsPasswords;
class PasswordController extends Controller
{
/*
|--------------------------------------------------------------------------
| Password Reset Controller
|--------------------------------------------------------------------------
|
| This controller is responsible for handling password reset requests
| and uses a simple trait to include this behavior. You're free to
| explore this trait and override any methods you wish to tweak.
|
*/
use ResetsPasswords;
/**
* Create a new password controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('guest');
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/app/Http/Middleware/RoleMiddleware.php | app/Http/Middleware/RoleMiddleware.php | <?php
namespace App\Http\Middleware;
use Closure;
use Auth;
class RoleMiddleware
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
if (Auth::user()->id == 1)
{
return redirect('employees');
}
return $next($request);
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/app/Http/Middleware/LanguangeMiddleware.php | app/Http/Middleware/LanguangeMiddleware.php | <?php
namespace App\Http\Middleware;
use Closure;
use App, DB;
class LanguangeMiddleware
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
App::setLocale(DB::table('tutapos_settings')->where('id', 1)->first()->languange);
return $next($request);
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/app/Http/Middleware/Authenticate.php | app/Http/Middleware/Authenticate.php | <?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Contracts\Auth\Guard;
class Authenticate
{
/**
* The Guard implementation.
*
* @var Guard
*/
protected $auth;
/**
* Create a new filter instance.
*
* @param Guard $auth
* @return void
*/
public function __construct(Guard $auth)
{
$this->auth = $auth;
}
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
if ($this->auth->guest()) {
if ($request->ajax()) {
return response('Unauthorized.', 401);
} else {
return redirect()->guest('auth/login');
}
}
return $next($request);
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/app/Http/Middleware/RedirectIfAuthenticated.php | app/Http/Middleware/RedirectIfAuthenticated.php | <?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Contracts\Auth\Guard;
class RedirectIfAuthenticated
{
/**
* The Guard implementation.
*
* @var Guard
*/
protected $auth;
/**
* Create a new filter instance.
*
* @param Guard $auth
* @return void
*/
public function __construct(Guard $auth)
{
$this->auth = $auth;
}
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
if ($this->auth->check()) {
return redirect('/home');
}
return $next($request);
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/app/Http/Middleware/EncryptCookies.php | app/Http/Middleware/EncryptCookies.php | <?php
namespace App\Http\Middleware;
use Illuminate\Cookie\Middleware\EncryptCookies as BaseEncrypter;
class EncryptCookies extends BaseEncrypter
{
/**
* The names of the cookies that should not be encrypted.
*
* @var array
*/
protected $except = [
//
];
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/app/Http/Middleware/VerifyCsrfToken.php | app/Http/Middleware/VerifyCsrfToken.php | <?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier;
class VerifyCsrfToken extends BaseVerifier
{
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
*/
protected $except = [
//
];
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/app/Console/Kernel.php | app/Console/Kernel.php | <?php
namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
class Kernel extends ConsoleKernel
{
/**
* The Artisan commands provided by your application.
*
* @var array
*/
protected $commands = [
\App\Console\Commands\Inspire::class,
];
/**
* Define the application's command schedule.
*
* @param \Illuminate\Console\Scheduling\Schedule $schedule
* @return void
*/
protected function schedule(Schedule $schedule)
{
$schedule->command('inspire')
->hourly();
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/app/Console/Commands/Inspire.php | app/Console/Commands/Inspire.php | <?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
use Illuminate\Foundation\Inspiring;
class Inspire extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'inspire';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Display an inspiring quote';
/**
* Execute the console command.
*
* @return mixed
*/
public function handle()
{
$this->comment(PHP_EOL.Inspiring::quote().PHP_EOL);
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/app/Providers/ConfigServiceProvider.php | app/Providers/ConfigServiceProvider.php | <?php namespace App\Providers;
use Illuminate\Support\ServiceProvider;
class ConfigServiceProvider extends ServiceProvider {
/**
* Overwrite any vendor / package configuration.
*
* This service provider is intended to provide a convenient location for you
* to overwrite any "vendor" or package configuration that you may want to
* modify before the application handles the incoming request / command.
*
* @return void
*/
public function register()
{
config([
//
]);
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/app/Providers/RouteServiceProvider.php | app/Providers/RouteServiceProvider.php | <?php
namespace App\Providers;
use Illuminate\Routing\Router;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
class RouteServiceProvider extends ServiceProvider
{
/**
* This namespace is applied to the controller routes in your routes file.
*
* In addition, it is set as the URL generator's root namespace.
*
* @var string
*/
protected $namespace = 'App\Http\Controllers';
/**
* Define your route model bindings, pattern filters, etc.
*
* @param \Illuminate\Routing\Router $router
* @return void
*/
public function boot(Router $router)
{
//
parent::boot($router);
}
/**
* Define the routes for the application.
*
* @param \Illuminate\Routing\Router $router
* @return void
*/
public function map(Router $router)
{
$router->group(['namespace' => $this->namespace], function ($router) {
require app_path('Http/routes.php');
});
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/app/Providers/EventServiceProvider.php | app/Providers/EventServiceProvider.php | <?php
namespace App\Providers;
use Illuminate\Contracts\Events\Dispatcher as DispatcherContract;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var array
*/
protected $listen = [
'App\Events\SomeEvent' => [
'App\Listeners\EventListener',
],
];
/**
* Register any other events for your application.
*
* @param \Illuminate\Contracts\Events\Dispatcher $events
* @return void
*/
public function boot(DispatcherContract $events)
{
parent::boot($events);
//
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/app/Providers/BusServiceProvider.php | app/Providers/BusServiceProvider.php | <?php namespace App\Providers;
use Illuminate\Bus\Dispatcher;
use Illuminate\Support\ServiceProvider;
class BusServiceProvider extends ServiceProvider {
/**
* Bootstrap any application services.
*
* @param \Illuminate\Bus\Dispatcher $dispatcher
* @return void
*/
public function boot(Dispatcher $dispatcher)
{
$dispatcher->mapUsing(function($command)
{
return Dispatcher::simpleMapping(
$command, 'App\Commands', 'App\Handlers\Commands'
);
});
}
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/app/Providers/AppServiceProvider.php | app/Providers/AppServiceProvider.php | <?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
//
}
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/app/Events/Event.php | app/Events/Event.php | <?php
namespace App\Events;
abstract class Event
{
//
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/bootstrap/app.php | bootstrap/app.php | <?php
/*
|--------------------------------------------------------------------------
| Create The Application
|--------------------------------------------------------------------------
|
| The first thing we will do is create a new Laravel application instance
| which serves as the "glue" for all the components of Laravel, and is
| the IoC container for the system binding all of the various parts.
|
*/
$app = new Illuminate\Foundation\Application(
realpath(__DIR__.'/../')
);
/*
|--------------------------------------------------------------------------
| Bind Important Interfaces
|--------------------------------------------------------------------------
|
| Next, we need to bind some important interfaces into the container so
| we will be able to resolve them when needed. The kernels serve the
| incoming requests to this application from both the web and CLI.
|
*/
$app->singleton(
'Illuminate\Contracts\Http\Kernel',
'App\Http\Kernel'
);
$app->singleton(
'Illuminate\Contracts\Console\Kernel',
'App\Console\Kernel'
);
$app->singleton(
'Illuminate\Contracts\Debug\ExceptionHandler',
'App\Exceptions\Handler'
);
/*
|--------------------------------------------------------------------------
| Return The Application
|--------------------------------------------------------------------------
|
| This script returns the application instance. The instance is given to
| the calling script so we can separate the building of the instances
| from the actual running of the application and sending responses.
|
*/
return $app;
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/bootstrap/autoload.php | bootstrap/autoload.php | <?php
define('LARAVEL_START', microtime(true));
/*
|--------------------------------------------------------------------------
| Register The Composer Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader
| for our application. We just need to utilize it! We'll require it
| into the script here so that we do not have to worry about the
| loading of any our classes "manually". Feels great to relax.
|
*/
require __DIR__.'/../vendor/autoload.php';
/*
|--------------------------------------------------------------------------
| Include The Compiled Class File
|--------------------------------------------------------------------------
|
| To dramatically increase your application's performance, you may use a
| compiled class file which contains all of the classes commonly used
| by a request. The Artisan "optimize" is used to create this file.
|
*/
$compiledPath = __DIR__.'/cache/compiled.php';
if (file_exists($compiledPath))
{
require $compiledPath;
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/tests/TestCase.php | tests/TestCase.php | <?php
class TestCase extends Illuminate\Foundation\Testing\TestCase {
/**
* Creates the application.
*
* @return \Illuminate\Foundation\Application
*/
public function createApplication()
{
$app = require __DIR__.'/../bootstrap/app.php';
$app->make('Illuminate\Contracts\Console\Kernel')->bootstrap();
return $app;
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/tests/ExampleTest.php | tests/ExampleTest.php | <?php
class ExampleTest extends TestCase {
/**
* A basic functional test example.
*
* @return void
*/
public function testBasicExample()
{
$response = $this->call('GET', '/');
$this->assertEquals(200, $response->getStatusCode());
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/public/index.php | public/index.php | <?php
/**
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @author Taylor Otwell <taylorotwell@gmail.com>
*/
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader for
| our application. We just need to utilize it! We'll simply require it
| into the script here so that we don't have to worry about manual
| loading any of our classes later on. It feels nice to relax.
|
*/
require __DIR__.'/../bootstrap/autoload.php';
/*
|--------------------------------------------------------------------------
| Turn On The Lights
|--------------------------------------------------------------------------
|
| We need to illuminate PHP development, so let us turn on the lights.
| This bootstraps the framework and gets it ready for use, then it
| will load up this application so that we can run it and send
| the responses back to the browser and delight our users.
|
*/
$app = require_once __DIR__.'/../bootstrap/app.php';
/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
$kernel = $app->make('Illuminate\Contracts\Http\Kernel');
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/config/app.php | config/app.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Application Debug Mode
|--------------------------------------------------------------------------
|
| When your application is in debug mode, detailed error messages with
| stack traces will be shown on every error that occurs within your
| application. If disabled, a simple generic error page is shown.
|
*/
'debug' => env('APP_DEBUG'),
/*
|--------------------------------------------------------------------------
| Application URL
|--------------------------------------------------------------------------
|
| This URL is used by the console to properly generate URLs when using
| the Artisan command line tool. You should set this to the root of
| your application so that it is used when running Artisan tasks.
|
*/
'url' => 'http://localhost',
/*
|--------------------------------------------------------------------------
| Application Timezone
|--------------------------------------------------------------------------
|
| Here you may specify the default timezone for your application, which
| will be used by the PHP date and date-time functions. We have gone
| ahead and set this to a sensible default for you out of the box.
|
*/
'timezone' => 'UTC',
/*
|--------------------------------------------------------------------------
| Application Locale Configuration
|--------------------------------------------------------------------------
|
| The application locale determines the default locale that will be used
| by the translation service provider. You are free to set this value
| to any of the locales which will be supported by the application.
|
*/
'locale' => 'en',
/*
|--------------------------------------------------------------------------
| Application Fallback Locale
|--------------------------------------------------------------------------
|
| The fallback locale determines the locale to use when the current one
| is not available. You may change the value to correspond to any of
| the language folders that are provided through your application.
|
*/
'fallback_locale' => 'en',
/*
|--------------------------------------------------------------------------
| Encryption Key
|--------------------------------------------------------------------------
|
| This key is used by the Illuminate encrypter service and should be set
| to a random, 32 character string, otherwise these encrypted strings
| will not be safe. Please do this before deploying an application!
|
*/
'key' => env('APP_KEY', 'SomeRandomString'),
'cipher' => MCRYPT_RIJNDAEL_128,
/*
|--------------------------------------------------------------------------
| Logging Configuration
|--------------------------------------------------------------------------
|
| Here you may configure the log settings for your application. Out of
| the box, Laravel uses the Monolog PHP logging library. This gives
| you a variety of powerful log handlers / formatters to utilize.
|
| Available Settings: "single", "daily", "syslog", "errorlog"
|
*/
'log' => 'daily',
/*
|--------------------------------------------------------------------------
| Autoloaded Service Providers
|--------------------------------------------------------------------------
|
| The service providers listed here will be automatically loaded on the
| request to your application. Feel free to add your own services to
| this array to grant expanded functionality to your applications.
|
*/
'providers' => [
/*
* Laravel Framework Service Providers...
*/
'Illuminate\Foundation\Providers\ArtisanServiceProvider',
'Illuminate\Auth\AuthServiceProvider',
'Illuminate\Bus\BusServiceProvider',
'Illuminate\Cache\CacheServiceProvider',
'Illuminate\Foundation\Providers\ConsoleSupportServiceProvider',
'Illuminate\Routing\ControllerServiceProvider',
'Illuminate\Cookie\CookieServiceProvider',
'Illuminate\Database\DatabaseServiceProvider',
'Illuminate\Encryption\EncryptionServiceProvider',
'Illuminate\Filesystem\FilesystemServiceProvider',
'Illuminate\Foundation\Providers\FoundationServiceProvider',
'Illuminate\Hashing\HashServiceProvider',
'Illuminate\Mail\MailServiceProvider',
'Illuminate\Pagination\PaginationServiceProvider',
'Illuminate\Pipeline\PipelineServiceProvider',
'Illuminate\Queue\QueueServiceProvider',
'Illuminate\Redis\RedisServiceProvider',
'Illuminate\Auth\Passwords\PasswordResetServiceProvider',
'Illuminate\Session\SessionServiceProvider',
'Illuminate\Translation\TranslationServiceProvider',
'Illuminate\Validation\ValidationServiceProvider',
'Illuminate\View\ViewServiceProvider',
'Collective\Html\HtmlServiceProvider',
'Intervention\Image\ImageServiceProvider',
/*
* Application Service Providers...
*/
'App\Providers\AppServiceProvider',
'App\Providers\BusServiceProvider',
'App\Providers\ConfigServiceProvider',
'App\Providers\EventServiceProvider',
'App\Providers\RouteServiceProvider',
],
/*
|--------------------------------------------------------------------------
| Class Aliases
|--------------------------------------------------------------------------
|
| This array of class aliases will be registered when this application
| is started. However, feel free to register as many as you wish as
| the aliases are "lazy" loaded so they don't hinder performance.
|
*/
'aliases' => [
'App' => 'Illuminate\Support\Facades\App',
'Artisan' => 'Illuminate\Support\Facades\Artisan',
'Auth' => 'Illuminate\Support\Facades\Auth',
'Blade' => 'Illuminate\Support\Facades\Blade',
'Bus' => 'Illuminate\Support\Facades\Bus',
'Cache' => 'Illuminate\Support\Facades\Cache',
'Config' => 'Illuminate\Support\Facades\Config',
'Cookie' => 'Illuminate\Support\Facades\Cookie',
'Crypt' => 'Illuminate\Support\Facades\Crypt',
'DB' => 'Illuminate\Support\Facades\DB',
'Eloquent' => 'Illuminate\Database\Eloquent\Model',
'Event' => 'Illuminate\Support\Facades\Event',
'File' => 'Illuminate\Support\Facades\File',
'Hash' => 'Illuminate\Support\Facades\Hash',
'Input' => 'Illuminate\Support\Facades\Input',
'Inspiring' => 'Illuminate\Foundation\Inspiring',
'Lang' => 'Illuminate\Support\Facades\Lang',
'Log' => 'Illuminate\Support\Facades\Log',
'Mail' => 'Illuminate\Support\Facades\Mail',
'Password' => 'Illuminate\Support\Facades\Password',
'Queue' => 'Illuminate\Support\Facades\Queue',
'Redirect' => 'Illuminate\Support\Facades\Redirect',
'Redis' => 'Illuminate\Support\Facades\Redis',
'Request' => 'Illuminate\Support\Facades\Request',
'Response' => 'Illuminate\Support\Facades\Response',
'Route' => 'Illuminate\Support\Facades\Route',
'Schema' => 'Illuminate\Support\Facades\Schema',
'Session' => 'Illuminate\Support\Facades\Session',
'Storage' => 'Illuminate\Support\Facades\Storage',
'URL' => 'Illuminate\Support\Facades\URL',
'Validator' => 'Illuminate\Support\Facades\Validator',
'View' => 'Illuminate\Support\Facades\View',
'Form' => 'Collective\Html\FormFacade',
'Html' => 'Collective\Html\HtmlFacade',
'Image' => 'Intervention\Image\Facades\Image',
],
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/config/session.php | config/session.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Default Session Driver
|--------------------------------------------------------------------------
|
| This option controls the default session "driver" that will be used on
| requests. By default, we will use the lightweight native driver but
| you may specify any of the other wonderful drivers provided here.
|
| Supported: "file", "cookie", "database", "apc",
| "memcached", "redis", "array"
|
*/
'driver' => env('SESSION_DRIVER', 'file'),
/*
|--------------------------------------------------------------------------
| Session Lifetime
|--------------------------------------------------------------------------
|
| Here you may specify the number of minutes that you wish the session
| to be allowed to remain idle before it expires. If you want them
| to immediately expire on the browser closing, set that option.
|
*/
'lifetime' => 120,
'expire_on_close' => false,
/*
|--------------------------------------------------------------------------
| Session Encryption
|--------------------------------------------------------------------------
|
| This option allows you to easily specify that all of your session data
| should be encrypted before it is stored. All encryption will be run
| automatically by Laravel and you can use the Session like normal.
|
*/
'encrypt' => false,
/*
|--------------------------------------------------------------------------
| Session File Location
|--------------------------------------------------------------------------
|
| When using the native session driver, we need a location where session
| files may be stored. A default has been set for you but a different
| location may be specified. This is only needed for file sessions.
|
*/
'files' => storage_path().'/framework/sessions',
/*
|--------------------------------------------------------------------------
| Session Database Connection
|--------------------------------------------------------------------------
|
| When using the "database" or "redis" session drivers, you may specify a
| connection that should be used to manage these sessions. This should
| correspond to a connection in your database configuration options.
|
*/
'connection' => null,
/*
|--------------------------------------------------------------------------
| Session Database Table
|--------------------------------------------------------------------------
|
| When using the "database" session driver, you may specify the table we
| should use to manage the sessions. Of course, a sensible default is
| provided for you; however, you are free to change this as needed.
|
*/
'table' => 'sessions',
/*
|--------------------------------------------------------------------------
| Session Sweeping Lottery
|--------------------------------------------------------------------------
|
| Some session drivers must manually sweep their storage location to get
| rid of old sessions from storage. Here are the chances that it will
| happen on a given request. By default, the odds are 2 out of 100.
|
*/
'lottery' => [2, 100],
/*
|--------------------------------------------------------------------------
| Session Cookie Name
|--------------------------------------------------------------------------
|
| Here you may change the name of the cookie used to identify a session
| instance by ID. The name specified here will get used every time a
| new session cookie is created by the framework for every driver.
|
*/
'cookie' => 'laravel_session',
/*
|--------------------------------------------------------------------------
| Session Cookie Path
|--------------------------------------------------------------------------
|
| The session cookie path determines the path for which the cookie will
| be regarded as available. Typically, this will be the root path of
| your application but you are free to change this when necessary.
|
*/
'path' => '/',
/*
|--------------------------------------------------------------------------
| Session Cookie Domain
|--------------------------------------------------------------------------
|
| Here you may change the domain of the cookie used to identify a session
| in your application. This will determine which domains the cookie is
| available to in your application. A sensible default has been set.
|
*/
'domain' => null,
/*
|--------------------------------------------------------------------------
| HTTPS Only Cookies
|--------------------------------------------------------------------------
|
| By setting this option to true, session cookies will only be sent back
| to the server if the browser has a HTTPS connection. This will keep
| the cookie from being sent to you if it can not be done securely.
|
*/
'secure' => false,
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/config/queue.php | config/queue.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Default Queue Driver
|--------------------------------------------------------------------------
|
| The Laravel queue API supports a variety of back-ends via an unified
| API, giving you convenient access to each back-end using the same
| syntax for each one. Here you may set the default queue driver.
|
| Supported: "null", "sync", "database", "beanstalkd",
| "sqs", "iron", "redis"
|
*/
'default' => env('QUEUE_DRIVER', 'sync'),
/*
|--------------------------------------------------------------------------
| Queue Connections
|--------------------------------------------------------------------------
|
| Here you may configure the connection information for each server that
| is used by your application. A default configuration has been added
| for each back-end shipped with Laravel. You are free to add more.
|
*/
'connections' => [
'sync' => [
'driver' => 'sync',
],
'database' => [
'driver' => 'database',
'table' => 'jobs',
'queue' => 'default',
'expire' => 60,
],
'beanstalkd' => [
'driver' => 'beanstalkd',
'host' => 'localhost',
'queue' => 'default',
'ttr' => 60,
],
'sqs' => [
'driver' => 'sqs',
'key' => 'your-public-key',
'secret' => 'your-secret-key',
'queue' => 'your-queue-url',
'region' => 'us-east-1',
],
'iron' => [
'driver' => 'iron',
'host' => 'mq-aws-us-east-1.iron.io',
'token' => 'your-token',
'project' => 'your-project-id',
'queue' => 'your-queue-name',
'encrypt' => true,
],
'redis' => [
'driver' => 'redis',
'queue' => 'default',
'expire' => 60,
],
],
/*
|--------------------------------------------------------------------------
| Failed Queue Jobs
|--------------------------------------------------------------------------
|
| These options configure the behavior of failed queue job logging so you
| can control which database and table are used to store the jobs that
| have failed. You may change them to any database / table you wish.
|
*/
'failed' => [
'database' => 'mysql', 'table' => 'failed_jobs',
],
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/config/cache.php | config/cache.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Default Cache Store
|--------------------------------------------------------------------------
|
| This option controls the default cache connection that gets used while
| using this caching library. This connection is used when another is
| not explicitly specified when executing a given caching function.
|
*/
'default' => env('CACHE_DRIVER', 'file'),
/*
|--------------------------------------------------------------------------
| Cache Stores
|--------------------------------------------------------------------------
|
| Here you may define all of the cache "stores" for your application as
| well as their drivers. You may even define multiple stores for the
| same cache driver to group types of items stored in your caches.
|
*/
'stores' => [
'apc' => [
'driver' => 'apc'
],
'array' => [
'driver' => 'array'
],
'database' => [
'driver' => 'database',
'table' => 'cache',
'connection' => null,
],
'file' => [
'driver' => 'file',
'path' => storage_path().'/framework/cache',
],
'memcached' => [
'driver' => 'memcached',
'servers' => [
[
'host' => '127.0.0.1', 'port' => 11211, 'weight' => 100
],
],
],
'redis' => [
'driver' => 'redis',
'connection' => 'default',
],
],
/*
|--------------------------------------------------------------------------
| Cache Key Prefix
|--------------------------------------------------------------------------
|
| When utilizing a RAM based store such as APC or Memcached, there might
| be other applications utilizing the same cache. So, we'll specify a
| value to get prefixed to all our keys so we can avoid collisions.
|
*/
'prefix' => 'laravel',
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/config/view.php | config/view.php | <?php
return [
/*
|--------------------------------------------------------------------------
| View Storage Paths
|--------------------------------------------------------------------------
|
| Most templating systems load templates from disk. Here you may specify
| an array of paths that should be checked for your views. Of course
| the usual Laravel view path has already been registered for you.
|
*/
'paths' => [
realpath(base_path('resources/views'))
],
/*
|--------------------------------------------------------------------------
| Compiled View Path
|--------------------------------------------------------------------------
|
| This option determines where all the compiled Blade templates will be
| stored for your application. Typically, this is within the storage
| directory. However, as usual, you are free to change this value.
|
*/
'compiled' => realpath(storage_path().'/framework/views'),
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/config/database.php | config/database.php | <?php
return [
/*
|--------------------------------------------------------------------------
| PDO Fetch Style
|--------------------------------------------------------------------------
|
| By default, database results will be returned as instances of the PHP
| stdClass object; however, you may desire to retrieve records in an
| array format for simplicity. Here you can tweak the fetch style.
|
*/
'fetch' => PDO::FETCH_CLASS,
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify which of the database connections below you wish
| to use as your default connection for all database work. Of course
| you may use many connections at once using the Database library.
|
*/
'default' => 'mysql',
/*
|--------------------------------------------------------------------------
| Database Connections
|--------------------------------------------------------------------------
|
| Here are each of the database connections setup for your application.
| Of course, examples of configuring each database platform that is
| supported by Laravel is shown below to make development simple.
|
|
| All database work in Laravel is done through the PHP PDO facilities
| so make sure you have the driver for your particular database of
| choice installed on your machine before you begin development.
|
*/
'connections' => [
'sqlite' => [
'driver' => 'sqlite',
'database' => storage_path().'/database.sqlite',
'prefix' => '',
],
'mysql' => [
'driver' => 'mysql',
'host' => env('DB_HOST', 'localhost'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'prefix' => '',
'strict' => false,
],
'pgsql' => [
'driver' => 'pgsql',
'host' => env('DB_HOST', 'localhost'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'charset' => 'utf8',
'prefix' => '',
'schema' => 'public',
],
'sqlsrv' => [
'driver' => 'sqlsrv',
'host' => env('DB_HOST', 'localhost'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'prefix' => '',
],
],
/*
|--------------------------------------------------------------------------
| Migration Repository Table
|--------------------------------------------------------------------------
|
| This table keeps track of all the migrations that have already run for
| your application. Using this information, we can determine which of
| the migrations on disk haven't actually been run in the database.
|
*/
'migrations' => 'migrations',
/*
|--------------------------------------------------------------------------
| Redis Databases
|--------------------------------------------------------------------------
|
| Redis is an open source, fast, and advanced key-value store that also
| provides a richer set of commands than a typical key-value systems
| such as APC or Memcached. Laravel makes it easy to dig right in.
|
*/
'redis' => [
'cluster' => false,
'default' => [
'host' => '127.0.0.1',
'port' => 6379,
'database' => 0,
],
],
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/config/services.php | config/services.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Third Party Services
|--------------------------------------------------------------------------
|
| This file is for storing the credentials for third party services such
| as Stripe, Mailgun, Mandrill, and others. This file provides a sane
| default location for this type of information, allowing packages
| to have a conventional place to find your various credentials.
|
*/
'mailgun' => [
'domain' => '',
'secret' => '',
],
'mandrill' => [
'secret' => '',
],
'ses' => [
'key' => '',
'secret' => '',
'region' => 'us-east-1',
],
'stripe' => [
'model' => 'App\User',
'secret' => '',
],
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/config/filesystems.php | config/filesystems.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Default Filesystem Disk
|--------------------------------------------------------------------------
|
| Here you may specify the default filesystem disk that should be used
| by the framework. A "local" driver, as well as a variety of cloud
| based drivers are available for your choosing. Just store away!
|
| Supported: "local", "s3", "rackspace"
|
*/
'default' => 'local',
/*
|--------------------------------------------------------------------------
| Default Cloud Filesystem Disk
|--------------------------------------------------------------------------
|
| Many applications store files both locally and in the cloud. For this
| reason, you may specify a default "cloud" driver here. This driver
| will be bound as the Cloud disk implementation in the container.
|
*/
'cloud' => 's3',
/*
|--------------------------------------------------------------------------
| Filesystem Disks
|--------------------------------------------------------------------------
|
| Here you may configure as many filesystem "disks" as you wish, and you
| may even configure multiple disks of the same driver. Defaults have
| been setup for each driver as an example of the required options.
|
*/
'disks' => [
'local' => [
'driver' => 'local',
'root' => storage_path().'/app',
],
's3' => [
'driver' => 's3',
'key' => 'your-key',
'secret' => 'your-secret',
'region' => 'your-region',
'bucket' => 'your-bucket',
],
'rackspace' => [
'driver' => 'rackspace',
'username' => 'your-username',
'key' => 'your-key',
'container' => 'your-container',
'endpoint' => 'https://identity.api.rackspacecloud.com/v2.0/',
'region' => 'IAD',
'url_type' => 'publicURL'
],
],
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/config/mail.php | config/mail.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Mail Driver
|--------------------------------------------------------------------------
|
| Laravel supports both SMTP and PHP's "mail" function as drivers for the
| sending of e-mail. You may specify which one you're using throughout
| your application here. By default, Laravel is setup for SMTP mail.
|
| Supported: "smtp", "mail", "sendmail", "mailgun", "mandrill", "log"
|
*/
'driver' => env('MAIL_DRIVER', 'smtp'),
/*
|--------------------------------------------------------------------------
| SMTP Host Address
|--------------------------------------------------------------------------
|
| Here you may provide the host address of the SMTP server used by your
| applications. A default option is provided that is compatible with
| the Mailgun mail service which will provide reliable deliveries.
|
*/
'host' => env('MAIL_HOST', 'smtp.mailgun.org'),
/*
|--------------------------------------------------------------------------
| SMTP Host Port
|--------------------------------------------------------------------------
|
| This is the SMTP port used by your application to deliver e-mails to
| users of the application. Like the host we have set this value to
| stay compatible with the Mailgun e-mail application by default.
|
*/
'port' => env('MAIL_PORT', 587),
/*
|--------------------------------------------------------------------------
| Global "From" Address
|--------------------------------------------------------------------------
|
| You may wish for all e-mails sent by your application to be sent from
| the same address. Here, you may specify a name and address that is
| used globally for all e-mails that are sent by your application.
|
*/
'from' => ['address' => null, 'name' => null],
/*
|--------------------------------------------------------------------------
| E-Mail Encryption Protocol
|--------------------------------------------------------------------------
|
| Here you may specify the encryption protocol that should be used when
| the application send e-mail messages. A sensible default using the
| transport layer security protocol should provide great security.
|
*/
'encryption' => 'tls',
/*
|--------------------------------------------------------------------------
| SMTP Server Username
|--------------------------------------------------------------------------
|
| If your SMTP server requires a username for authentication, you should
| set it here. This will get used to authenticate with your server on
| connection. You may also set the "password" value below this one.
|
*/
'username' => env('MAIL_USERNAME'),
/*
|--------------------------------------------------------------------------
| SMTP Server Password
|--------------------------------------------------------------------------
|
| Here you may set the password required by your SMTP server to send out
| messages from your application. This will be given to the server on
| connection so that the application will be able to send messages.
|
*/
'password' => env('MAIL_PASSWORD'),
/*
|--------------------------------------------------------------------------
| Sendmail System Path
|--------------------------------------------------------------------------
|
| When using the "sendmail" driver to send e-mails, we will need to know
| the path to where Sendmail lives on this server. A default path has
| been provided here, which will work well on most of your systems.
|
*/
'sendmail' => '/usr/sbin/sendmail -bs',
/*
|--------------------------------------------------------------------------
| Mail "Pretend"
|--------------------------------------------------------------------------
|
| When this option is enabled, e-mail will not actually be sent over the
| web and will instead be written to your application's logs files so
| you may inspect the message. This is great for local development.
|
*/
'pretend' => false,
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/config/compile.php | config/compile.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Additional Compiled Classes
|--------------------------------------------------------------------------
|
| Here you may specify additional classes to include in the compiled file
| generated by the `artisan optimize` command. These should be classes
| that are included on basically every request into the application.
|
*/
'files' => [
realpath(__DIR__.'/../app/Providers/AppServiceProvider.php'),
realpath(__DIR__.'/../app/Providers/BusServiceProvider.php'),
realpath(__DIR__.'/../app/Providers/ConfigServiceProvider.php'),
realpath(__DIR__.'/../app/Providers/EventServiceProvider.php'),
realpath(__DIR__.'/../app/Providers/RouteServiceProvider.php'),
],
/*
|--------------------------------------------------------------------------
| Compiled File Providers
|--------------------------------------------------------------------------
|
| Here you may list service providers which define a "compiles" function
| that returns additional files that should be compiled, providing an
| easy way to get common files from any packages you are utilizing.
|
*/
'providers' => [
//
],
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/config/auth.php | config/auth.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Default Authentication Driver
|--------------------------------------------------------------------------
|
| This option controls the authentication driver that will be utilized.
| This driver manages the retrieval and authentication of the users
| attempting to get access to protected areas of your application.
|
| Supported: "database", "eloquent"
|
*/
'driver' => 'eloquent',
/*
|--------------------------------------------------------------------------
| Authentication Model
|--------------------------------------------------------------------------
|
| When using the "Eloquent" authentication driver, we need to know which
| Eloquent model should be used to retrieve your users. Of course, it
| is often just the "User" model but you may use whatever you like.
|
*/
'model' => 'App\User',
/*
|--------------------------------------------------------------------------
| Authentication Table
|--------------------------------------------------------------------------
|
| When using the "Database" authentication driver, we need to know which
| table should be used to retrieve your users. We have chosen a basic
| default value but you may easily change it to any table you like.
|
*/
'table' => 'users',
/*
|--------------------------------------------------------------------------
| Password Reset Settings
|--------------------------------------------------------------------------
|
| Here you may set the options for resetting passwords including the view
| that is your password reset e-mail. You can also set the name of the
| table that maintains all of the reset tokens for your application.
|
| The expire time is the number of minutes that the reset token should be
| considered valid. This security feature keeps tokens short-lived so
| they have less time to be guessed. You may change this as needed.
|
*/
'password' => [
'email' => 'emails.password',
'table' => 'password_resets',
'expire' => 60,
],
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/database/seeds/UserTableSeeder.php | database/seeds/UserTableSeeder.php | <?php
use Illuminate\Database\Seeder;
class UserTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('users')->insert([
'name' => 'admin',
'email' => 'admin@tuta.pos',
'password' => bcrypt('admin'),
'created_at' => time(),
'updated_at' => time(),
]);
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/database/seeds/DatabaseSeeder.php | database/seeds/DatabaseSeeder.php | <?php
use Illuminate\Database\Seeder;
use Illuminate\Database\Eloquent\Model;
class DatabaseSeeder extends Seeder {
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
Model::unguard();
$this->call('UserTableSeeder');
$this->call('TutaposSettingTableSeeder');
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/database/seeds/TutaposSettingTableSeeder.php | database/seeds/TutaposSettingTableSeeder.php | <?php
use Illuminate\Database\Seeder;
class TutaposSettingTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('tutapos_settings')->insert([
'languange' => 'en',
'created_at' => time(),
'updated_at' => time(),
]);
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/database/migrations/2015_06_16_163101_create_tutapos_settings_table.php | database/migrations/2015_06_16_163101_create_tutapos_settings_table.php | <?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateTutaposSettingsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tutapos_settings', function(Blueprint $table)
{
$table->increments('id');
$table->string('languange', 5)->default('en');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('tutapos_settings');
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/database/migrations/2015_05_29_074713_create_customers_table.php | database/migrations/2015_05_29_074713_create_customers_table.php | <?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateCustomersTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('customers', function(Blueprint $table)
{
$table->increments('id');
$table->string('name', 100);
$table->string('email', 30);
$table->string('phone_number', 20);
$table->string('avatar', 255)->default('no-foto.png');
$table->string('address', 255);
$table->string('city', 20);
$table->string('state', 30);
$table->string('zip', 10);
$table->string('comment', 255);
$table->string('company_name', 100);
$table->string('account', 20);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('customers');
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/database/migrations/2014_10_12_000000_create_users_table.php | database/migrations/2014_10_12_000000_create_users_table.php | <?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function(Blueprint $table)
{
$table->increments('id');
$table->string('name');
$table->string('email')->unique();
$table->string('password', 60);
$table->rememberToken();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('users');
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/database/migrations/2014_10_12_100000_create_password_resets_table.php | database/migrations/2014_10_12_100000_create_password_resets_table.php | <?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePasswordResetsTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('password_resets', function(Blueprint $table)
{
$table->string('email')->index();
$table->string('token')->index();
$table->timestamp('created_at');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('password_resets');
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/database/migrations/2015_06_08_050821_create_sale_items_table.php | database/migrations/2015_06_08_050821_create_sale_items_table.php | <?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateSaleItemsTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('sale_items', function(Blueprint $table)
{
$table->increments('id');
$table->integer('sale_id')->unsigned();
$table->foreign('sale_id')->references('id')->on('sales')->onDelete('restrict');
$table->integer('item_id')->unsigned();
$table->foreign('item_id')->references('id')->on('items')->onDelete('restrict');
$table->decimal('cost_price',15, 2);
$table->decimal('selling_price',15, 2);
$table->integer('quantity');
$table->decimal('total_cost',15, 2);
$table->decimal('total_selling',15, 2);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('sale_items');
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/database/migrations/2015_06_12_214916_create_item_kit_item_temps_table.php | database/migrations/2015_06_12_214916_create_item_kit_item_temps_table.php | <?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateItemKitItemTempsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('item_kit_item_temps', function(Blueprint $table)
{
$table->increments('id');
$table->integer('item_id')->unsigned();
$table->foreign('item_id')->references('id')->on('items')->onDelete('restrict');
$table->decimal('cost_price', 15, 2);
$table->decimal('selling_price', 15, 2);
$table->integer('quantity');
$table->decimal('total_cost_price', 15, 2);
$table->decimal('total_selling_price', 15, 2);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('item_kit_item_temps');
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/database/migrations/2015_06_06_083159_create_sale_temps_table.php | database/migrations/2015_06_06_083159_create_sale_temps_table.php | <?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateSaleTempsTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('sale_temps', function(Blueprint $table)
{
$table->increments('id');
$table->integer('item_id')->unsigned();
$table->foreign('item_id')->references('id')->on('items')->onDelete('restrict');
$table->decimal('cost_price',9, 2);
$table->decimal('selling_price',9, 2);
$table->integer('quantity');
$table->decimal('total_cost',9, 2);
$table->decimal('total_selling',9, 2);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('sale_temps');
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/database/migrations/2015_12_18_070318_create_roles_table.php | database/migrations/2015_12_18_070318_create_roles_table.php | <?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateRolesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('roles', function (Blueprint $table) {
$table->increments('id');
$table->string('role');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('roles');
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/database/migrations/2015_05_30_015027_create_items_table.php | database/migrations/2015_05_30_015027_create_items_table.php | <?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateItemsTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('items', function(Blueprint $table)
{
$table->increments('id');
$table->string('upc_ean_isbn',90);
$table->string('item_name',90);
$table->string('size',20);
$table->text('description');
$table->string('avatar', 255)->default('no-foto.png');
$table->decimal('cost_price',9, 2);
$table->decimal('selling_price',9, 2);
$table->integer('quantity');
$table->integer('type')->default(1);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('items');
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/database/migrations/2015_06_03_013557_create_receivings_table.php | database/migrations/2015_06_03_013557_create_receivings_table.php | <?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateReceivingsTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('receivings', function(Blueprint $table)
{
$table->increments('id');
$table->integer('supplier_id')->unsigned()->nullable();
$table->foreign('supplier_id')->references('id')->on('suppliers')->onDelete('restrict');
$table->integer('user_id')->unsigned();
$table->foreign('user_id')->references('id')->on('users')->onDelete('restrict');
$table->string('payment_type', 15)->nullable();
$table->string('comments', 255)->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('receivings');
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/database/migrations/2015_12_18_070426_create_user_roles_table.php | database/migrations/2015_12_18_070426_create_user_roles_table.php | <?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUserRolesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('user_roles', function (Blueprint $table) {
$table->increments('id');
$table->integer('user_id');
$table->integer('role_id');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('user_roles');
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/database/migrations/2015_06_02_010425_create_inventories_table.php | database/migrations/2015_06_02_010425_create_inventories_table.php | <?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateInventoriesTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('inventories', function(Blueprint $table)
{
$table->increments('id');
$table->integer('item_id')->unsigned();
$table->foreign('item_id')->references('id')->on('items')->onDelete('restrict');
$table->integer('user_id')->unsigned();
$table->foreign('user_id')->references('id')->on('users')->onDelete('restrict');
$table->integer('in_out_qty');
$table->string('remarks', 255);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('inventories');
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/database/migrations/2015_05_30_073533_create_suppliers_table.php | database/migrations/2015_05_30_073533_create_suppliers_table.php | <?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateSuppliersTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('suppliers', function(Blueprint $table)
{
$table->increments('id');
$table->string('company_name', 100);
$table->string('name', 100);
$table->string('email', 30);
$table->string('phone_number', 20);
$table->string('avatar', 255)->default('no-foto.png');
$table->string('address', 255);
$table->string('city', 20);
$table->string('state', 30);
$table->string('zip', 10);
$table->text('comments');
$table->string('account', 20);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('suppliers');
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/database/migrations/2015_06_06_083156_create_sales_table.php | database/migrations/2015_06_06_083156_create_sales_table.php | <?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateSalesTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('sales', function(Blueprint $table)
{
$table->increments('id');
$table->integer('customer_id')->unsigned()->nullable();
$table->foreign('customer_id')->references('id')->on('customers')->onDelete('restrict');
$table->integer('user_id')->unsigned();
$table->foreign('user_id')->references('id')->on('users')->onDelete('restrict');
$table->string('payment_type', 15)->nullable();
$table->string('comments', 255)->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('sales');
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/database/migrations/2015_06_03_134547_create_receiving_temps_table.php | database/migrations/2015_06_03_134547_create_receiving_temps_table.php | <?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateReceivingTempsTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('receiving_temps', function(Blueprint $table)
{
$table->increments('id');
$table->integer('item_id')->unsigned();
$table->foreign('item_id')->references('id')->on('items')->onDelete('restrict');
$table->decimal('cost_price',9, 2);
$table->integer('quantity');
$table->decimal('total_cost',9, 2);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('receiving_temps');
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/database/migrations/2015_06_07_042753_create_receiving_items_table.php | database/migrations/2015_06_07_042753_create_receiving_items_table.php | <?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateReceivingItemsTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('receiving_items', function(Blueprint $table)
{
$table->increments('id');
$table->integer('receiving_id')->unsigned();
$table->foreign('receiving_id')->references('id')->on('receivings')->onDelete('restrict');
$table->integer('item_id')->unsigned();
$table->foreign('item_id')->references('id')->on('items')->onDelete('restrict');
$table->decimal('cost_price',9, 2);
$table->integer('quantity');
$table->decimal('total_cost',9, 2);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('receiving_items');
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/database/migrations/2015_06_12_224226_create_item_kit_items_table.php | database/migrations/2015_06_12_224226_create_item_kit_items_table.php | <?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateItemKitItemsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('item_kit_items', function(Blueprint $table)
{
$table->increments('id');
$table->integer('item_kit_id')->unsigned();
$table->foreign('item_kit_id')->references('id')->on('items')->onDelete('restrict');
$table->integer('item_id')->unsigned();
$table->foreign('item_id')->references('id')->on('items')->onDelete('restrict');
$table->decimal('cost_price', 15, 2);
$table->decimal('selling_price', 15, 2);
$table->integer('quantity');
$table->decimal('total_cost_price', 15, 2);
$table->decimal('total_selling_price', 15, 2);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('item_kit_items');
}
}
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/ms/passwords.php | resources/lang/ms/passwords.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Password Reminder Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are given by the password broker for a password update attempt
| has failed, such as for an invalid token or invalid new password.
|
*/
'password' => 'Kata laluan mestilah sekurang-kurangnya enam aksara dan sepadan dengan pengesahan.',
'reset' => 'Kata laluan anda telah ditetapkan semula!',
'sent' => 'Kami telah e-mel pautan set semula kata laluan anda!',
'token' => 'Token set semula kata laluan ini tidak sah.',
'user' => 'Kami tidak dapat mencari pengguna dengan alamat e-mel tersebut.',
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/ms/pagination.php | resources/lang/ms/pagination.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pagination links. You are free to change them to anything
| you want to customize your views to better match your application.
|
*/
'previous' => '« Sebelumnya',
'next' => 'Seterusnya »',
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/ms/validation.php | resources/lang/ms/validation.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of these rules have multiple versions such
| as the size rules. Feel free to tweak each of these messages here.
|
*/
'accepted' => ':attribute mesti diterima pakai.',
'active_url' => ':attribute bukan URL yang sah.',
'after' => ':attribute mesti tarikh selepas :date.',
'alpha' => ':attribute hanya boleh mengandungi huruf.',
'alpha_dash' => ':attribute boleh mengandungi huruf, nombor, dan sengkang.',
'alpha_num' => ':attribute boleh mengandungi huruf dan nombor.',
'array' => ':attribute mesti jujukan.',
'before' => ':attribute mesti tarikh sebelum :date.',
'between' => [
'numeric' => ':attribute mesti mengandungi antara :min dan :max.',
'file' => ':attribute mesti mengandungi antara :min dan :max kilobait.',
'string' => ':attribute mesti mengandungi antara :min dan :max aksara.',
'array' => ':attribute mesti mengandungi antara :min dan :max perkara.',
],
'boolean' => ':attribute mesti benar atau palsu.',
'confirmed' => ':attribute pengesahan yang tidak sepadan.',
'date' => ':attribute bukan tarikh yang sah.',
'date_format' => ':attribute tidak mengikut format :format.',
'different' => ':attribute dan :other mesti berlainan.',
'dimensions' => ':attribute tidak sah',
'digits' => ':attribute mesti :digits.',
'digits_between' => ':attribute mesti mengandungi antara :min dan :max digits.',
'distinct' => ':attribute adalah nilai yang berulang',
'email' => ':attribute tidak sah.',
'exists' => ':attribute tidak sah.',
'file' => ':attribute mesti fail yang sah.',
'filled' => ':attribute diperlukan.',
'image' => ':attribute mesti imej.',
'in' => ':attribute tidak sah.',
'in_array' => ':attribute tidak wujud dalam :other.',
'integer' => ':attribute mesti integer.',
'ip' => ':attribute mesti alamat IP yang sah.',
'json' => ':attribute mesti JSON yang sah.',
'max' => [
'numeric' => 'Jumlah :attribute mesti tidak melebihi :max.',
'file' => 'Jumlah :attribute mesti tidak melebihi :max kilobait.',
'string' => 'Jumlah :attribute mesti tidak melebihi :max aksara.',
'array' => 'Jumlah :attribute mesti tidak melebihi :max perkara.',
],
'mimes' => ':attribute mesti fail type: :values.',
'mimetypes' => ':attribute mesti fail type: :values.',
'min' => [
'numeric' => 'Jumlah :attribute mesti sekurang-kurangnya :min.',
'file' => 'Jumlah :attribute mesti sekurang-kurangnya :min kilobait.',
'string' => 'Jumlah :attribute mesti sekurang-kurangnya :min aksara.',
'array' => 'Jumlah :attribute mesti sekurang-kurangnya :min perkara.',
],
'not_in' => ':attribute tidak sah.',
'numeric' => ':attribute mesti nombor.',
'present' => ':attribute mesti wujud.',
'regex' => ':attribute format tidak sah.',
'required' => 'Ruangan :attribute diperlukan.',
'required_if' => 'Ruangan :attribute diperlukan bila :other sama dengan :value.',
'required_unless' => 'Ruangan :attribute diperlukan sekiranya :other ada dalam :values.',
'required_with' => 'Ruangan :attribute diperlukan bila :values wujud.',
'required_with_all' => 'Ruangan :attribute diperlukan bila :values wujud.',
'required_without' => 'Ruangan :attribute diperlukan bila :values tidak wujud.',
'required_without_all' => 'Ruangan :attribute diperlukan bila kesemua :values wujud.',
'same' => 'Ruangan :attribute dan :other mesti sepadan.',
'size' => [
'numeric' => 'Saiz :attribute mesti :size.',
'file' => 'Saiz :attribute mesti :size kilobait.',
'string' => 'Saiz :attribute mesti :size aksara.',
'array' => 'Saiz :attribute mesti mengandungi :size perkara.',
],
'string' => ':attribute mesti aksara.',
'timezone' => ':attribute mesti zon masa yang sah.',
'unique' => ':attribute telah wujud.',
'uploaded' => ':attribute gagal dimuat naik.',
'url' => ':attribute format tidak sah.',
/*
|--------------------------------------------------------------------------
| Custom Validation Language Lines
|--------------------------------------------------------------------------
|
| Here you may specify custom validation messages for attributes using the
| convention "attribute.rule" to name the lines. This makes it quick to
| specify a specific custom language line for a given attribute rule.
|
*/
'custom' => [
'attribute-name' => [
'rule-name' => 'custom-message',
],
],
/*
|--------------------------------------------------------------------------
| Custom Validation Attributes
|--------------------------------------------------------------------------
|
| The following language lines are used to swap attribute place-holders
| with something more reader friendly such as E-Mail Address instead
| of "email". This simply helps us make messages a little cleaner.
|
*/
'attributes' => [],
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/en/itemkit.php | resources/lang/en/itemkit.php | <?php
return [
'item_kits' => 'Item Kits',
'new_item_kit' => 'New Item Kit',
'item_kit_id' => 'Item Kit ID',
'item_kit_name' => 'Item Kit Name',
'cost_price' => 'Cost Price',
'selling_price' => 'Selling Price',
'item_kit_description' => 'Item Kit Description',
'search_item' => 'Search Item:',
'description' => 'Description',
'quantity' => 'Quantity',
'profit' => 'PROFIT:',
'item_id' => 'Item ID',
'item_name' => 'Item Name',
'submit' => 'Submit Item Kit',
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/en/passwords.php | resources/lang/en/passwords.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Password Reset Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are given by the password broker for a password update attempt
| has failed, such as for an invalid token or invalid new password.
|
*/
'password' => 'Passwords must be at least six characters and match the confirmation.',
'reset' => 'Your password has been reset!',
'sent' => 'We have e-mailed your password reset link!',
'token' => 'This password reset token is invalid.',
'user' => "We can't find a user with that e-mail address.",
]; | php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/en/receiving.php | resources/lang/en/receiving.php | <?php
return [
'item_receiving' => 'Items Receiving',
'search_item' => 'Search Item:',
'invoice' => 'Invoice',
'employee' => 'Employee',
'payment_type' => 'Payment Type',
'supplier' => 'Supplier',
'item_id' => 'Item ID',
'item_name' => 'Item Name',
'cost' => 'Cost',
'quantity' => 'Quantity',
'total' => 'Total',
'amount_tendered' => 'Amount Tendered',
'comments' => 'Comments',
'grand_total' => 'TOTAL:',
'submit' => 'Finish Receiving',
//struk
'receiving_id' => 'Receiving ID',
'item' => 'Item',
'price' => 'Price',
'qty' => 'Qty',
'print' => 'Print',
'new_receiving' => 'New Receiving',
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/en/item.php | resources/lang/en/item.php | <?php
return [
'list_items' => 'List Items',
'new_item' => 'New Item',
'item_id' => 'Item ID',
'upc_ean_isbn' => 'UPC/EAN/ISBN',
'item_name' => 'Item Name',
'size' => 'Size',
'cost_price' => 'Cost Price',
'selling_price' => 'Selling Price',
'quantity' => 'Quantity',
'avatar' => 'Avatar',
'edit' => 'Edit',
'delete' => 'Delete',
'submit' => 'Submit',
'description' => 'Description',
'choose_avatar' => 'Choose Avatar',
'inventory' => 'Inventory',
'update_item' => 'Update Item',
//inventory
'inventory_data_tracking' => 'Inventory Data Tracking',
'current_quantity' => 'Current Quantity',
'inventory_to_add_subtract' => 'Inventory to add/subtract',
'comments' => 'Comments',
'employee' => 'Employee',
'in_out_qty' => 'In/Out Qty',
'remarks' => 'Remarks',
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/en/menu.php | resources/lang/en/menu.php | <?php
return [
'dashboard' => 'Dashboard',
'customers' => 'Customers',
'employees' => 'Employees',
'items' => 'Items',
'item_kits' => 'Item Kits',
'suppliers' => 'Suppliers',
'receivings' => 'Receivings',
'sales' => 'Sales',
'reports' => 'Reports',
'receivings_report' => 'Receivings Report',
'sales_report' => 'Sales Report',
'logout' => 'Logout',
'application_settings' => 'Application Settings'
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/en/report-sale.php | resources/lang/en/report-sale.php | <?php
return [
'reports' => 'Reports',
'sales_report' => 'Sales Report',
'grand_total' => 'TOTAL',
'grand_profit' => 'PROFIT',
'sale_id' => 'Sale ID',
'date' => 'Date',
'items_purchased' => 'Items Purchased',
'sold_by' => 'Sold By',
'sold_to' => 'Sold To',
'total' => 'Total',
'profit' => 'Profit',
'payment_type' => 'Payment Type',
'comments' => 'Comments',
'detail' => 'Detail',
'item_id' => 'Item ID',
'item_name' => 'Item Name:',
'quantity_purchase' => 'Quantity Purchased',
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/en/employee.php | resources/lang/en/employee.php | <?php
return [
'list_employees' => 'List Employees',
'new_employee' => 'New Employee',
'person_id' => 'Person ID',
'name' => 'Name',
'email' => 'Email',
'password' => 'Password',
'confirm_password' => 'Confirm Password',
'submit' => 'Submit',
'edit' => 'Edit',
'delete' => 'Delete',
'update_employee' => 'Update Employee'
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/en/pagination.php | resources/lang/en/pagination.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pagination links. You are free to change them to anything
| you want to customize your views to better match your application.
|
*/
'previous' => '« Previous',
'next' => 'Next »',
]; | php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/en/dashboard.php | resources/lang/en/dashboard.php | <?php
return [
'welcome' => 'Welcome to TutaPOS - TUTA Point of Sale.',
'statistics' => 'Statistics',
'total_employees' => 'Total Employees',
'total_customers' => 'Total Customers',
'total_suppliers' => 'Total Suppliers',
'total_items' => 'Total Items',
'total_item_kits' => 'Total Item Kits',
'total_receivings' => 'Total Receivings',
'total_sales' => 'Total Sales',
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/en/supplier.php | resources/lang/en/supplier.php | <?php
return [
'list_suppliers' => 'List Suppliers',
'new_supplier' => 'New Supplier',
'company_name' => 'Company Name',
'name' => 'Name',
'email' => 'Email',
'phone_number' => 'Phone Number',
'avatar' => 'Avatar',
'choose_avatar' => 'Choose Avatar:',
'address' => 'Address',
'city' => 'City',
'state' => 'State',
'zip' => 'Zip',
'comments' => 'Comments',
'account' => 'Account',
'submit' => 'Submit',
'edit' => 'Edit',
'delete' => 'Delete',
'update_supplier' => 'Update Supplier',
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/en/customer.php | resources/lang/en/customer.php | <?php
return [
'list_customers' => 'List Customers',
'new_customer' => 'New Customer',
'customer_id' => 'Customer ID',
'name' => 'Name',
'email' => 'Email',
'phone_number' => 'Phone Number',
'avatar' => 'Avatar',
'choose_avatar' => 'Choose Avatar',
'address' => 'Address',
'city' => 'City',
'state' => 'State',
'zip' => 'Zip',
'company_name' => 'Company Name',
'account' => 'Account',
'submit' => 'Submit',
'edit' => 'Edit',
'delete' => 'Delete',
'update_customer' => 'Update Customer',
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/en/validation.php | resources/lang/en/validation.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of these rules have multiple versions such
| as the size rules. Feel free to tweak each of these messages here.
|
*/
'accepted' => 'The :attribute must be accepted.',
'active_url' => 'The :attribute is not a valid URL.',
'after' => 'The :attribute must be a date after :date.',
'alpha' => 'The :attribute may only contain letters.',
'alpha_dash' => 'The :attribute may only contain letters, numbers, and dashes.',
'alpha_num' => 'The :attribute may only contain letters and numbers.',
'array' => 'The :attribute must be an array.',
'before' => 'The :attribute must be a date before :date.',
'between' => [
'numeric' => 'The :attribute must be between :min and :max.',
'file' => 'The :attribute must be between :min and :max kilobytes.',
'string' => 'The :attribute must be between :min and :max characters.',
'array' => 'The :attribute must have between :min and :max items.',
],
'boolean' => 'The :attribute field must be true or false.',
'confirmed' => 'The :attribute confirmation does not match.',
'date' => 'The :attribute is not a valid date.',
'date_format' => 'The :attribute does not match the format :format.',
'different' => 'The :attribute and :other must be different.',
'digits' => 'The :attribute must be :digits digits.',
'digits_between' => 'The :attribute must be between :min and :max digits.',
'dimensions' => 'The :attribute has invalid image dimensions.',
'distinct' => 'The :attribute field has a duplicate value.',
'email' => 'The :attribute must be a valid email address.',
'exists' => 'The selected :attribute is invalid.',
'file' => 'The :attribute must be a file.',
'filled' => 'The :attribute field is required.',
'image' => 'The :attribute must be an image.',
'in' => 'The selected :attribute is invalid.',
'in_array' => 'The :attribute field does not exist in :other.',
'integer' => 'The :attribute must be an integer.',
'ip' => 'The :attribute must be a valid IP address.',
'json' => 'The :attribute must be a valid JSON string.',
'max' => [
'numeric' => 'The :attribute may not be greater than :max.',
'file' => 'The :attribute may not be greater than :max kilobytes.',
'string' => 'The :attribute may not be greater than :max characters.',
'array' => 'The :attribute may not have more than :max items.',
],
'mimes' => 'The :attribute must be a file of type: :values.',
'mimetypes' => 'The :attribute must be a file of type: :values.',
'min' => [
'numeric' => 'The :attribute must be at least :min.',
'file' => 'The :attribute must be at least :min kilobytes.',
'string' => 'The :attribute must be at least :min characters.',
'array' => 'The :attribute must have at least :min items.',
],
'not_in' => 'The selected :attribute is invalid.',
'numeric' => 'The :attribute must be a number.',
'present' => 'The :attribute field must be present.',
'regex' => 'The :attribute format is invalid.',
'required' => 'The :attribute field is required.',
'required_if' => 'The :attribute field is required when :other is :value.',
'required_unless' => 'The :attribute field is required unless :other is in :values.',
'required_with' => 'The :attribute field is required when :values is present.',
'required_with_all' => 'The :attribute field is required when :values is present.',
'required_without' => 'The :attribute field is required when :values is not present.',
'required_without_all' => 'The :attribute field is required when none of :values are present.',
'same' => 'The :attribute and :other must match.',
'size' => [
'numeric' => 'The :attribute must be :size.',
'file' => 'The :attribute must be :size kilobytes.',
'string' => 'The :attribute must be :size characters.',
'array' => 'The :attribute must contain :size items.',
],
'string' => 'The :attribute must be a string.',
'timezone' => 'The :attribute must be a valid zone.',
'unique' => 'The :attribute has already been taken.',
'uploaded' => 'The :attribute failed to upload.',
'url' => 'The :attribute format is invalid.',
/*
|--------------------------------------------------------------------------
| Custom Validation Language Lines
|--------------------------------------------------------------------------
|
| Here you may specify custom validation messages for attributes using the
| convention "attribute.rule" to name the lines. This makes it quick to
| specify a specific custom language line for a given attribute rule.
|
*/
'custom' => [
'attribute-name' => [
'rule-name' => 'custom-message',
],
],
/*
|--------------------------------------------------------------------------
| Custom Validation Attributes
|--------------------------------------------------------------------------
|
| The following language lines are used to swap attribute place-holders
| with something more reader friendly such as E-Mail Address instead
| of "email". This simply helps us make messages a little cleaner.
|
*/
'attributes' => [],
]; | php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/en/sale.php | resources/lang/en/sale.php | <?php
return [
'sales_register' => 'Sales Register',
'search_item' => 'Search Item:',
'invoice' => 'Invoice',
'employee' => 'Employee',
'payment_type' => 'Payment Type',
'customer' => 'Customer',
'item_id' => 'Item ID',
'item_name' => 'Item Name',
'price' => 'Price',
'quantity' => 'Quantity',
'total' => 'Total',
'add_payment' => 'Add Payment',
'comments' => 'Comments',
'grand_total' => 'TOTAL:',
'amount_due' => 'Amount Due',
'submit' => 'Complete Sale',
//struk
'sale_id' => 'Sale ID',
'item' => 'Item',
'price' => 'Price',
'qty' => 'Qty',
'print' => 'Print',
'new_sale' => 'New Sale',
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/en/report-receiving.php | resources/lang/en/report-receiving.php | <?php
return [
'reports' => 'Reports',
'receivings_report' => 'Receivings Report',
'grand_total' => 'TOTAL',
'receiving_id' => 'Receiving ID',
'date' => 'Date',
'items_received' => 'Items Received',
'received_by' => 'Received By',
'supplied_by' => 'Supplied By',
'total' => 'Total',
'payment_type' => 'Payment Type',
'comments' => 'Comments',
'detail' => 'Detail',
'item_id' => 'Item ID',
'item_name' => 'Item Name:',
'item_received' => 'Item Received',
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/id/itemkit.php | resources/lang/id/itemkit.php | <?php
return [
'item_kits' => 'Barang Paketan',
'new_item_kit' => 'Paketan Baru',
'item_kit_id' => 'Paket ID',
'item_kit_name' => 'Nama Paket',
'cost_price' => 'Harga Beli',
'selling_price' => 'Harga Jual',
'item_kit_description' => 'Keterangan',
'search_item' => 'Cari Barang:',
'description' => 'Keterangan',
'quantity' => 'Quantity',
'profit' => 'KEUNTUNGAN:',
'item_id' => 'ID Barang',
'item_name' => 'Nama Barang',
'submit' => 'Submit Paketan',
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/id/receiving.php | resources/lang/id/receiving.php | <?php
return [
'item_receiving' => 'Penerimaan Barang',
'search_item' => 'Cari Barang:',
'invoice' => 'Faktur',
'employee' => 'Pegawai',
'payment_type' => 'Jenis Pembayaran',
'supplier' => 'Pemasok',
'item_id' => 'ID Barang',
'item_name' => 'Nama Barang',
'cost' => 'Harga Beli',
'quantity' => 'Quantity',
'total' => 'Total',
'amount_tendered' => 'Jumlah Pembayaran',
'comments' => 'Komentar',
'grand_total' => 'TOTAL:',
'submit' => 'Selesaikan Penerimaan',
//struk
'receiving_id' => 'ID Penerimaan',
'item' => 'Barang',
'price' => 'Harga',
'qty' => 'Qty',
'print' => 'Cetak',
'new_receiving' => 'Penerimaan Baru',
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/id/item.php | resources/lang/id/item.php | <?php
return [
'list_items' => 'Daftar Barang',
'new_item' => 'Barang Baru',
'item_id' => 'ID Barang',
'upc_ean_isbn' => 'UPC/EAN/ISBN',
'item_name' => 'Nama Barang',
'size' => 'Ukuran',
'cost_price' => 'Harga Beli',
'selling_price' => 'Harga Jual',
'quantity' => 'Quantity',
'avatar' => 'Gambar',
'edit' => 'Ganti',
'delete' => 'Hapus',
'submit' => 'Submit',
'description' => 'Keterangan',
'choose_avatar' => 'Pilih Gambar',
'inventory' => 'Inventaris',
'update_item' => 'Ganti Barang',
//inventory
'inventory_data_tracking' => 'Pelacakan Data Inventaris',
'current_quantity' => 'Jumlah Saat Ini',
'inventory_to_add_subtract' => 'Penambahan/Pengurangan Inventaris',
'comments' => 'Komentar',
'employee' => 'Pegawai',
'in_out_qty' => 'Keluar/Masuk Qty',
'remarks' => 'Penanda',
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/id/menu.php | resources/lang/id/menu.php | <?php
return [
'dashboard' => 'Dashboard',
'customers' => 'Pelanggan',
'employees' => 'Pegawai',
'items' => 'Barang',
'item_kits' => 'Barang Paket',
'suppliers' => 'Pemasok',
'receivings' => 'Penerimaan',
'sales' => 'Penjualan',
'reports' => 'Laporan',
'receivings_report' => 'Laporan Penerimaan',
'sales_report' => 'Laporan Penjualan',
'logout' => 'Keluar',
'application_settings' => 'Pengaturan Aplikasi'
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/id/report-sale.php | resources/lang/id/report-sale.php | <?php
return [
'reports' => 'Laporan',
'sales_report' => 'Laporan Penjualan',
'grand_total' => 'TOTAL',
'grand_profit' => 'KEUNTUNGAN',
'sale_id' => 'ID Penjualan',
'date' => 'Tanggal',
'items_purchased' => 'Barang yang dibeli',
'sold_by' => 'Dijual Oleh',
'sold_to' => 'Dijual Kepada',
'total' => 'Total',
'profit' => 'Keuntungan',
'payment_type' => 'Jenis Pembayaran',
'comments' => 'Komentar',
'detail' => 'Rincian',
'item_id' => 'ID Barang',
'item_name' => 'Nama Barang',
'quantity_purchase' => 'Jumlah yang dibeli',
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/id/employee.php | resources/lang/id/employee.php | <?php
return [
'list_employees' => 'Daftar Pegawai',
'new_employee' => 'Pegawai Baru',
'person_id' => 'ID Pegawai',
'name' => 'Nama',
'email' => 'Email',
'password' => 'Password',
'confirm_password' => 'Ulangi Password',
'submit' => 'Submit',
'edit' => 'Ganti',
'delete' => 'Hapus',
'update_employee' => 'Ganti Pegawai'
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/id/dashboard.php | resources/lang/id/dashboard.php | <?php
return [
'welcome' => 'Selamat Datang di TutaPOS - TUTA Point of Sale.',
'statistics' => 'Statistik',
'total_employees' => 'Total Pegawai',
'total_customers' => 'Total Pelanggan',
'total_suppliers' => 'Total Supplier',
'total_items' => 'Total Barang',
'total_item_kits' => 'Total Barang Paket',
'total_receivings' => 'Total Penerimaan',
'total_sales' => 'Total Penjualan',
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/id/supplier.php | resources/lang/id/supplier.php | <?php
return [
'list_suppliers' => 'Daftar Pemasok',
'new_supplier' => 'Pemasok Baru',
'company_name' => 'Nama Perusahaan',
'name' => 'Nama',
'email' => 'Email',
'phone_number' => 'Nomor Telepon',
'avatar' => 'Foto',
'choose_avatar' => 'Pilih Foto:',
'address' => 'Alamat',
'city' => 'Kota',
'state' => 'Provinsi',
'zip' => 'Kode Pos',
'comments' => 'Komentar',
'account' => 'Akun',
'submit' => 'Submit',
'edit' => 'Ganti',
'delete' => 'Hapus',
'update_supplier' => 'Ganti Pemasok',
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/id/customer.php | resources/lang/id/customer.php | <?php
return [
'list_customers' => 'Daftar Pelanggan',
'new_customer' => 'Pelanggan Baru',
'customer_id' => 'ID Pelanggan',
'name' => 'Nama',
'email' => 'Email',
'phone_number' => 'Nomor Telepon',
'avatar' => 'Foto',
'choose_avatar' => 'Pilih Foto',
'address' => 'Alamat',
'city' => 'Kota',
'state' => 'Provinsi',
'zip' => 'Kode Pos',
'company_name' => 'Nama Perusahaan',
'account' => 'Akun',
'Submit' => 'Submit',
'edit' => 'Ganti',
'delete' => 'Hapus',
'update_customer' => 'Ganti Pelanggan',
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/id/sale.php | resources/lang/id/sale.php | <?php
return [
'sales_register' => 'Daftar Penjualan',
'search_item' => 'Cari Barang:',
'invoice' => 'Faktur',
'employee' => 'Pegawai',
'payment_type' => 'Jenis Pembayaran',
'customer' => 'Pelanggan',
'item_id' => 'ID Barang',
'item_name' => 'Nama Barang',
'price' => 'Harga',
'quantity' => 'Quantity',
'total' => 'Total',
'add_payment' => 'Pembayaran',
'comments' => 'Komentar',
'grand_total' => 'TOTAL:',
'amount_due' => 'Tersisa',
'submit' => 'Selesaikan Penjualan',
//struk
'sale_id' => 'ID Penjualan',
'item' => 'Barang',
'price' => 'Harga',
'qty' => 'Qty',
'print' => 'Cetak',
'new_sale' => 'Penjualan Baru',
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/id/report-receiving.php | resources/lang/id/report-receiving.php | <?php
return [
'reports' => 'Laporan',
'receivings_report' => 'Laporan Penerimaan',
'grand_total' => 'TOTAL',
'receiving_id' => 'ID Penerimaan',
'date' => 'Tanggal',
'items_received' => 'Barang Diterima',
'received_by' => 'Diterima Oleh',
'supplied_by' => 'Dipasok Oleh',
'total' => 'Total',
'payment_type' => 'Jenis Pembayaran',
'comments' => 'Komentar',
'detail' => 'Rincian',
'item_id' => 'ID Barang',
'item_name' => 'Nama Barang:',
'item_received' => 'Barang Diterima',
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/es/itemkit.php | resources/lang/es/itemkit.php | <?php
return [
'item_kits' => 'Combos de Productos',
'new_item_kit' => 'Nuevo Combo',
'item_kit_id' => 'ID',
'item_kit_name' => 'Nombre del Combo',
'cost_price' => 'Costo',
'selling_price' => 'Precio',
'item_kit_description' => 'Descripción',
'search_item' => 'Buscar Producto:',
'description' => 'Descripción',
'quantity' => 'Cantidad',
'profit' => 'GANANCIA:',
'item_id' => 'ID',
'item_name' => 'Producto',
'submit' => 'Guardar',
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/es/passwords.php | resources/lang/es/passwords.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Password Reminder Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are given by the password broker for a password update attempt
| has failed, such as for an invalid token or invalid new password.
|
*/
'password' => 'La contraseña debe tener al menos 6 caracteres y coincidir con la confirmación.',
'user' => 'No se ha encontrado un usuario con esa dirección de correo.',
'token' => 'Este token de reestablecimiento de contraseña es inválido.',
'sent' => '¡Recordatorio de contraseña enviado!',
'reset' => '¡Su contraseña ha sido reestablecida!',
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/es/receiving.php | resources/lang/es/receiving.php | <?php
return [
'item_receiving' => 'Compra de Productos',
'search_item' => 'Buscar Producto:',
'invoice' => 'Recibo',
'employee' => 'Empleado',
'payment_type' => 'Tipo de Pago',
'supplier' => 'Proveedor',
'item_id' => 'ID',
'item_name' => 'Producto',
'cost' => 'Costo',
'quantity' => 'Cantidad',
'total' => 'Total',
'amount_tendered' => 'Monto Recibido',
'comments' => 'Comentarios',
'grand_total' => 'TOTAL:',
'submit' => 'Finalizar Compra',
//struk
'receiving_id' => 'Receiving ID',
'item' => 'Producto',
'price' => 'Precio',
'qty' => 'Cantidad',
'print' => 'Imprimir',
'new_receiving' => 'Nueva Compra',
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/es/item.php | resources/lang/es/item.php | <?php
return [
'list_items' => 'Listado de Productos',
'new_item' => 'Nuevo Producto',
'item_id' => 'ID',
'upc_ean_isbn' => 'UPC/EAN/ISBN',
'item_name' => 'Nombre del Producto',
'size' => 'Tamaño',
'cost_price' => 'Costo',
'selling_price' => 'Precio',
'quantity' => 'Cantidad',
'avatar' => 'Imagen',
'edit' => 'Editar',
'delete' => 'Borrar',
'submit' => 'Guardar',
'description' => 'Descripción',
'choose_avatar' => 'Seleccione una imagen',
'inventory' => 'Inventario',
'update_item' => 'Actualizar Producto',
//inventory
'inventory_data_tracking' => 'Seguimiento de cambios en Inventario',
'current_quantity' => 'Cantidad Actual',
'inventory_to_add_subtract' => 'Cantidad a Agregar/Substraer',
'comments' => 'Comentarios',
'employee' => 'Empleado',
'in_out_qty' => 'Cantidad Entrada/Salida',
'remarks' => 'Observaciones',
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/es/menu.php | resources/lang/es/menu.php | <?php
return [
'dashboard' => 'Tablero',
'customers' => 'Clientes',
'employees' => 'Empleados',
'items' => 'Productos',
'item_kits' => 'Combos',
'suppliers' => 'Proveedores',
'receivings' => 'Compras',
'sales' => 'Ventas',
'reports' => 'Reportes',
'receivings_report' => 'Reporte de Compras',
'sales_report' => 'Reporte de Ventas',
'logout' => 'Cerrar Sesión',
'application_settings' => 'Configuración del Sistema'
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/es/report-sale.php | resources/lang/es/report-sale.php | <?php
return [
'reports' => 'Reportes',
'sales_report' => 'Reporte de Ventas',
'grand_total' => 'TOTAL',
'grand_profit' => 'GANANCIA',
'sale_id' => 'ID',
'date' => 'Fecha',
'items_purchased' => 'Items Vendidos',
'sold_by' => 'Vendido por',
'sold_to' => 'Cliente',
'total' => 'Total',
'profit' => 'Ganancia',
'payment_type' => 'Tipo de Pago',
'comments' => 'Comentarios',
'detail' => 'Detalle',
'item_id' => 'ID',
'item_name' => 'Producto:',
'quantity_purchase' => 'Cantidad',
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/es/employee.php | resources/lang/es/employee.php | <?php
return [
'list_employees' => 'Listado de Empleados',
'new_employee' => 'Nuevo Empleado',
'person_id' => 'ID',
'name' => 'Nombre',
'email' => 'Email',
'password' => 'Contraseña',
'confirm_password' => 'Confirmar Contraseña',
'submit' => 'Guardar',
'edit' => 'Editar',
'delete' => 'Borrar',
'update_employee' => 'Actualizar Empleado'
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/es/pagination.php | resources/lang/es/pagination.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pagination links. You are free to change them to anything
| you want to customize your views to better match your application.
|
*/
'previous' => '« Anterior',
'next' => 'Siguiente »',
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/es/dashboard.php | resources/lang/es/dashboard.php | <?php
return [
'welcome' => 'Bienvenido a TutaPOS - TUTA Punto de Venta.',
'statistics' => 'Estadísticas',
'total_employees' => 'Total Empleados',
'total_customers' => 'Total Clientes',
'total_suppliers' => 'Total Proveedores',
'total_items' => 'Total Productos',
'total_item_kits' => 'Total Combos',
'total_receivings' => 'Total Compras',
'total_sales' => 'Total Ventas',
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/es/supplier.php | resources/lang/es/supplier.php | <?php
return [
'list_suppliers' => 'Listado de Proveedores',
'new_supplier' => 'Nuevo Proveedor',
'company_name' => 'Empresa',
'name' => 'Nombre',
'email' => 'Email',
'phone_number' => 'Teléfono',
'avatar' => 'Imagen',
'choose_avatar' => 'Seleccione una imagen:',
'address' => 'Dirección',
'city' => 'Ciudad',
'state' => 'Estado/Provincia',
'zip' => 'Código Postal',
'comments' => 'Comentarios',
'account' => 'Cuenta',
'submit' => 'Guardar',
'edit' => 'Editar',
'delete' => 'Borrar',
'update_supplier' => 'Guardar',
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/es/customer.php | resources/lang/es/customer.php | <?php
return [
'list_customers' => 'Listado de Clientes',
'new_customer' => 'Nuevo Cliente',
'customer_id' => 'ID',
'name' => 'Nombre',
'email' => 'Email',
'phone_number' => 'Teléfono',
'avatar' => 'Imagen',
'choose_avatar' => 'Seleccione una imagen',
'address' => 'Dirección',
'city' => 'Ciudad',
'state' => 'Estado/Provincia',
'zip' => 'Código postal',
'company_name' => 'Empresa',
'account' => 'Cuenta',
'submit' => 'Guardar',
'edit' => 'Editar',
'delete' => 'Borrar',
'update_customer' => 'Actualiar Cliente',
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/es/validation.php | resources/lang/es/validation.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of these rules have multiple versions such
| as the size rules. Feel free to tweak each of these messages here.
|
*/
'accepted' => 'El campo :attribute debe ser aceptado.',
'active_url' => 'El campo :attribute no es una URL válida.',
'after' => 'El campo :attribute debe ser una fecha posterior a :date.',
'alpha' => 'El campo :attribute sólo puede contener letras.',
'alpha_dash' => 'El campo :attribute sólo puede contener letras, números y guiones (a-z, 0-9, -_).',
'alpha_num' => 'El campo :attribute sólo puede contener letras y números.',
'array' => 'El campo :attribute debe ser un array.',
'before' => 'El campo :attribute debe ser una fecha anterior a :date.',
'between' => [
'numeric' => 'El campo :attribute debe ser un valor entre :min y :max.',
'file' => 'El archivo :attribute debe pesar entre :min y :max kilobytes.',
'string' => 'El campo :attribute debe contener entre :min y :max caracteres.',
'array' => 'El campo :attribute debe contener entre :min y :max elementos.',
],
'boolean' => 'El campo :attribute debe ser verdadero o falso.',
'confirmed' => 'El campo confirmación de :attribute no coincide.',
'date' => 'El campo :attribute no corresponde con una fecha válida.',
'date_format' => 'El campo :attribute no corresponde con el formato de fecha :format.',
'different' => 'Los campos :attribute y :other han de ser diferentes.',
'digits' => 'El campo :attribute debe ser un número de :digits dígitos.',
'digits_between' => 'El campo :attribute debe contener entre :min y :max dígitos.',
'email' => 'El campo :attribute no corresponde con una dirección de e-mail válida.',
'filled' => 'El campo :attribute es obligatorio.',
'exists' => 'El campo :attribute no existe.',
'image' => 'El campo :attribute debe ser una imagen.',
'in' => 'El campo :attribute debe ser igual a alguno de estos valores :values',
'integer' => 'El campo :attribute debe ser un número entero.',
'ip' => 'El campo :attribute debe ser una dirección IP válida.',
'json' => 'El campo :attribute debe ser una cadena de texto JSON válida.',
'max' => [
'numeric' => 'El campo :attribute debe ser menor que :max.',
'file' => 'El archivo :attribute debe pesar meno que :max kilobytes.',
'string' => 'El campo :attribute debe contener menos de :max caracteres.',
'array' => 'El campo :attribute debe contener al menos :max elementos.',
],
'mimes' => 'El campo :attribute debe ser un archivo de tipo :values.',
'min' => [
'numeric' => 'El campo :attribute debe tener al menos :min.',
'file' => 'El archivo :attribute debe pesar al menos :min kilobytes.',
'string' => 'El campo :attribute debe contener al menos :min caracteres.',
'array' => 'El campo :attribute no debe contener más de :min elementos.',
],
'not_in' => 'El campo :attribute seleccionado es invalido.',
'numeric' => 'El campo :attribute debe ser un numero.',
'regex' => 'El formato del campo :attribute es inválido.',
'required' => 'El campo :attribute es obligatorio',
'required_if' => 'El campo :attribute es obligatorio cuando el campo :other es :value.',
'required_with' => 'El campo :attribute es obligatorio cuando :values está presente.',
'required_with_all' => 'El campo :attribute es obligatorio cuando :values está presente.',
'required_without' => 'El campo :attribute es obligatorio cuando :values no está presente.',
'required_without_all' => 'El campo :attribute es obligatorio cuando ningún campo :values están presentes.',
'same' => 'Los campos :attribute y :other deben coincidir.',
'size' => [
'numeric' => 'El campo :attribute debe ser :size.',
'file' => 'El archivo :attribute debe pesar :size kilobytes.',
'string' => 'El campo :attribute debe contener :size caracteres.',
'array' => 'El campo :attribute debe contener :size elementos.',
],
'string' => 'El campo :attribute debe contener solo caracteres.',
'timezone' => 'El campo :attribute debe contener una zona válida.',
'unique' => 'El elemento :attribute ya está en uso.',
'url' => 'El formato de :attribute no corresponde con el de una URL válida.',
/*
|--------------------------------------------------------------------------
| Custom Validation Language Lines
|--------------------------------------------------------------------------
|
| Here you may specify custom validation messages for attributes using the
| convention "attribute.rule" to name the lines. This makes it quick to
| specify a specific custom language line for a given attribute rule.
|
*/
'custom' => [
'attribute-name' => [
'rule-name' => 'custom-message',
],
],
/*
|--------------------------------------------------------------------------
| Custom Validation Attributes
|--------------------------------------------------------------------------
|
| The following language lines are used to swap attribute place-holders
| with something more reader friendly such as E-Mail Address instead
| of "email". This simply helps us make messages a little cleaner.
|
*/
'attributes' => [],
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/es/sale.php | resources/lang/es/sale.php | <?php
return [
'sales_register' => 'Registro de Ventas',
'search_item' => 'Buscar Producto:',
'invoice' => 'Recibo',
'employee' => 'Empleado',
'payment_type' => 'Tipo de Pago',
'customer' => 'Cliente',
'item_id' => 'ID',
'item_name' => 'Producto',
'price' => 'Precio',
'quantity' => 'Cantidad',
'total' => 'Total',
'add_payment' => 'Agregar Pago',
'comments' => 'Comentarios',
'grand_total' => 'TOTAL:',
'amount_due' => 'Monto a Pagar',
'submit' => 'Completar Venta',
//struk
'sale_id' => 'ID',
'item' => 'Producto',
'price' => 'Precio',
'qty' => 'Cantidad',
'print' => 'Imprimir',
'new_sale' => 'Nueva Venta',
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/lang/es/report-receiving.php | resources/lang/es/report-receiving.php | <?php
return [
'reports' => 'Reportes',
'receivings_report' => 'Reporte de Compras',
'grand_total' => 'TOTAL',
'receiving_id' => 'ID',
'date' => 'Fecha',
'items_received' => 'Items Comprados',
'received_by' => 'Recibido por',
'supplied_by' => 'Proveedor',
'total' => 'Total',
'payment_type' => 'Tipo de Pago',
'comments' => 'Comentarios',
'detail' => 'Detalle',
'item_id' => 'ID',
'item_name' => 'Producto:',
'item_received' => 'Cantidad',
];
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/views/welcome.blade.php | resources/views/welcome.blade.php | <html>
<head>
<title>Laravel</title>
<link href='//fonts.googleapis.com/css?family=Lato:100' rel='stylesheet' type='text/css'>
<style>
body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
color: #B0BEC5;
display: table;
font-weight: 100;
font-family: 'Lato';
}
.container {
text-align: center;
display: table-cell;
vertical-align: middle;
}
.content {
text-align: center;
display: inline-block;
}
.title {
font-size: 96px;
margin-bottom: 40px;
}
.quote {
font-size: 24px;
}
</style>
</head>
<body>
<div class="container">
<div class="content">
<div class="title">Laravel 5</div>
<div class="quote">{{ Inspiring::quote() }}</div>
</div>
</div>
</body>
</html>
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/views/home.blade.php | resources/views/home.blade.php | @extends('app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">Dashboard</div>
<div class="panel-body">
{{ trans('dashboard.welcome') }}
<hr />
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">{{trans('dashboard.statistics')}}</h3>
</div>
<div class="panel-body">
<div class="row">
<div class="col-md-4">
<div class="well">{{trans('dashboard.total_employees')}} : {{$employees}}</div>
</div>
<div class="col-md-4">
<div class="well">{{trans('dashboard.total_customers')}} : {{$customers}}</div>
</div>
<div class="col-md-4">
<div class="well">{{trans('dashboard.total_suppliers')}} : {{$suppliers}}</div>
</div>
</div>
<div class="row">
<div class="col-md-3">
<div class="well">{{trans('dashboard.total_items')}} : {{$items}}</div>
</div>
<div class="col-md-3">
<div class="well">{{trans('dashboard.total_item_kits')}} : {{$item_kits}}</div>
</div>
<div class="col-md-3">
<div class="well">{{trans('dashboard.total_receivings')}} : {{$receivings}}</div>
</div>
<div class="col-md-3">
<div class="well">{{trans('dashboard.total_sales')}} : {{$sales}}</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
@endsection
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
tutacare/tutapos | https://github.com/tutacare/tutapos/blob/2e07e73ad355162caacf2e5509125894001b84a5/resources/views/app.blade.php | resources/views/app.blade.php | <!DOCTYPE html>
<html ng-app="tutapos">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>TutaPOS</title>
<link href="{{ asset('/css/app.css') }}" rel="stylesheet">
<link href="{{ asset('/css/footer.css') }}" rel="stylesheet">
<!-- Fonts -->
<link href='//fonts.googleapis.com/css?family=Roboto:400,300' rel='stylesheet' type='text/css'>
<link rel="shortcut icon" href="http://tutahosting.net/wp-content/uploads/2015/01/tutaico.png" type="image/x-icon" />
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle Navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="http://tutacare.github.io/tutapos/">TutaPOS</a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li><a href="{{ url('/') }}">{{trans('menu.dashboard')}}</a></li>
@if (Auth::check())
<li><a href="{{ url('/customers') }}">{{trans('menu.customers')}}</a></li>
<li><a href="{{ url('/items') }}">{{trans('menu.items')}}</a></li>
<li><a href="{{ url('/item-kits') }}">{{trans('menu.item_kits')}}</a></li>
<li><a href="{{ url('/suppliers') }}">{{trans('menu.suppliers')}}</a></li>
<li><a href="{{ url('/receivings') }}">{{trans('menu.receivings')}}</a></li>
<li><a href="{{ url('/sales') }}">{{trans('menu.sales')}}</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">{{trans('menu.reports')}} <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="{{ url('/reports/receivings') }}">{{trans('menu.receivings_report')}}</a></li>
<li><a href="{{ url('/reports/sales') }}">{{trans('menu.sales_report')}}</a></li>
</ul>
</li>
<li><a href="{{ url('/employees') }}">{{trans('menu.employees')}}</a></li>
@endif
</ul>
<ul class="nav navbar-nav navbar-right">
@if (Auth::guest())
<li><a href="{{ url('/auth/login') }}">Login</a></li>
@else
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">{{ Auth::user()->name }} <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="{{ url('/tutapos-settings') }}">{{trans('menu.application_settings')}}</a></li>
<li class="divider"></li>
<li><a href="{{ url('/auth/logout') }}">{{trans('menu.logout')}}</a></li>
</ul>
</li>
@endif
</ul>
</div>
</div>
</nav>
@yield('content')
<footer class="footer hidden-print">
<div class="container">
<p class="text-muted">You are using <a href="http://tutacare.github.io/tutapos/">TutaPOS</a> v0.8-alpha by <a href="https://twitter.com/tutacare">Irfan Mahfudz Guntur</a>.
</p>
</div>
</footer>
<!-- Scripts -->
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.1/js/bootstrap.min.js"></script>
</body>
</html>
| php | MIT | 2e07e73ad355162caacf2e5509125894001b84a5 | 2026-01-05T05:00:20.248800Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.