本文整理汇总了PHP中app\Branch::getBranchesDropDown方法的典型用法代码示例。如果您正苦于以下问题:PHP Branch::getBranchesDropDown方法的具体用法?PHP Branch::getBranchesDropDown怎么用?PHP Branch::getBranchesDropDown使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类app\Branch
的用法示例。
在下文中一共展示了Branch::getBranchesDropDown方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: getEdit
public function getEdit($id)
{
$users = User::find($id);
$branches = new Branch();
$branchAll = $branches->getBranchesDropDown();
return view('Users.edit', compact('branchAll'))->with('userdata', $users);
}
示例2: getEdit
public function getEdit($id)
{
$stockInfo = StockInfo::find($id);
$branches = new Branch();
$branchAll = $branches->getBranchesDropDown();
return view('StockInfos.edit', compact('stockInfo'))->with('branchAll', $branchAll);
}
示例3: getEdit
public function getEdit($id)
{
$branches = new Branch();
$branchAll = $branches->getBranchesDropDown();
$category = Category::find($id);
return view('ProductCategory.edit', compact('branchAll'))->with('category', $category);
}
示例4: getCreate
public function getCreate()
{
$branches = new Branch();
$branchAll = $branches->getBranchesDropDown();
$accountCategories = new AccountCategory();
$accountCategoriesAll = $accountCategories->getAccountCategoriesDropDown();
return view('BalanceTransfers.add')->with('branchAll', $branchAll)->with('accountCategoriesAll', $accountCategoriesAll);
}
示例5: getEdit
public function getEdit($id)
{
$account = NameOfAccount::find($id);
$accountCategories = new AccountCategory();
$accountCategoriesAll = $accountCategories->getAccountCategoriesDropDown();
$branches = new Branch();
$branchAll = $branches->getBranchesDropDown();
return view('AccountName.edit', compact('account'))->with('accountCategoriesAll', $accountCategoriesAll)->with('branchAll', $branchAll);
}
示例6: getEdit
public function getEdit($id)
{
$categories = new Category();
$allCategory = $categories->getCategoriesDropDown();
$branches = new Branch();
$branchAll = $branches->getBranchesDropDown();
$subCategory = SubCategory::find($id);
return view('ProductSubCategory.edit', compact('branchAll'))->with('subCategory', $subCategory)->with('categoryAll', $allCategory);
}
示例7: getEdit
public function getEdit($id)
{
$stockRequisition = StockRequisition::find($id);
$products = new Product();
$productAll = $products->getProductsWithCategories();
$parties = new Party();
$partyAll = $parties->getPartiesDropDown();
$branches = new Branch();
$branchAll = $branches->getBranchesDropDown();
return view('StockRequisition.edit', compact('stockRequisition'))->with('partyAll', $partyAll)->with('productAll', $productAll)->with('branchAll', $branchAll);
}
示例8: getCreate
public function getCreate()
{
$stockInfos = new StockInfo();
$allStockInfos = $stockInfos->getStockInfoDropDown();
$parties = new Party();
$partyAll = $parties->getPartiesDropDown();
$imports = new Import();
$consignmentAll = $imports->getConsignmentNameDropDown();
$branches = new Branch();
$branchAll = $branches->getBranchesDropDown();
return view('SalesReturn.add', compact('allStockInfos', 'consignmentAll'))->with('branchAll', $branchAll)->with('partyAll', $partyAll);
}
示例9: getStockProducts
public function getStockProducts()
{
$branches = new Branch();
$branchAll = $branches->getBranchesDropDown();
$stockInfos = new StockInfo();
$allStockInfos = $stockInfos->getStockInfoDropDown();
$catogories = new Category();
$categoriesAll = $catogories->getCategoriesDropDown();
$products = new Product();
$productAll = $products->getProductsWithCategories();
return view('Searches.stockProduct', compact('productAll'))->with('categoriesAll', $categoriesAll)->with('allStockInfos', $allStockInfos)->with('branchAll', $branchAll);
}
示例10: getEdit
public function getEdit($id)
{
$buyers = new Party();
$buyersAll = $buyers->getBuyersDropDown();
$products = new Product();
$finishGoods = $products->getFinishGoodsDropDown();
$stockInfos = new StockInfo();
$allStockInfos = $stockInfos->getStockInfoDropDown();
$branches = new Branch();
$branchAll = $branches->getBranchesDropDown();
$sale[0] = Sale::where('invoice_id', '=', $id)->get();
$var = $sale[0];
$saleDetails = SAleDetail::where('invoice_id', '=', $id)->get();
return view('Sales.edit', compact('buyersAll'))->with('finishGoods', $finishGoods)->with('saleDetails', $saleDetails)->with('sale', $var)->with('branchAll', $branchAll)->with('allStockInfos', $allStockInfos);
}
示例11: getEdit
public function getEdit($id)
{
$branches = new Branch();
$branchAll = $branches->getBranchesDropDown();
$import = Import::find($id);
return view('Imports.edit', compact('import'))->with('branchAll', $branchAll);
}
示例12: getEdit
public function getEdit($id)
{
$suppliers = new Party();
$suppliersAll = $suppliers->getSuppliersDropDown();
$products = new Product();
$localProducts = $products->getLocalProductsDropDown();
$stockInfos = new StockInfo();
$allStockInfos = $stockInfos->getStockInfoDropDown();
$branches = new Branch();
$branchAll = $branches->getBranchesDropDown();
$purchase[0] = PurchaseInvoice::where('invoice_id', '=', $id)->get();
$var = $purchase[0];
$purchaseDetails = PurchaseInvoiceDetail::where('detail_invoice_id', '=', $id)->get();
return view('PurchaseInvoice.edit', compact('suppliersAll'))->with('localProducts', $localProducts)->with('purchaseDetails', $purchaseDetails)->with('purchase', $var)->with('branchAll', $branchAll)->with('allStockInfos', $allStockInfos);
}
示例13: getMakeall
public function getMakeall()
{
$accountCategories = new AccountCategory();
$accountCategoriesAll = $accountCategories->getAccountCategoriesDropDown();
$branches = new Branch();
$branchAll = $branches->getBranchesDropDown();
$buyers = new Party();
$partyAll = $buyers->getSuppliersDropDown();
return view('PurchaseInvoice.paymentAddAll', compact('accountCategoriesAll'))->with('branchAll', $branchAll)->with('partyAll', $partyAll);
}
示例14: getEdit
public function getEdit($id)
{
$stockInvoices = StockInvoice::find($id);
$branches = new Branch();
$branchAll = $branches->getBranchesDropDown();
$stockDetails = StockDetail::where('invoice_id', '=', $stockInvoices->invoice_id)->first();
$stockDetails2 = StockDetail::where('invoice_id', '=', $stockInvoices->invoice_id)->get();
// get all stocks
$stockInfos = new StockInfo();
$allStockInfos = $stockInfos->getStockInfoDropDown();
$invoiceId = $stockInvoices->invoice_id;
//$invoiceId = 's121513';
$buyersAll = 0;
$imports = Import::where('status', '=', 'Activate')->get();
$productsName = Product::where('product_type', '=', $stockDetails->product_type)->where('branch_id', '=', $stockDetails->branch_id)->get();
return view('Stocks.edit2', compact('buyersAll', 'invoiceId', 'stockInvoices', 'stockDetails', 'productsName', 'stockDetails2', 'imports'))->with('branchAll', $branchAll)->with('allStockInfos', $allStockInfos);
// return view('Stocks.edit',compact('stock'))
// ->with('allStockInfos',$allStockInfos)
// ->with('branchAll',$branchAll);
}
示例15: getExpensepayment
public function getExpensepayment()
{
$branches = new Branch();
$branchAll = $branches->getBranchesDropDown();
return view('Reports.expensePaymentReport')->with('branchAll', $branchAll);
}